Skip to content

Commit

Permalink
allow DOCUSAURUS_PERF_LOGGER = false
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Oct 18, 2024
1 parent 8289aaa commit c6642a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/docusaurus-logger/src/perfLogger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import logger from './logger';

// For now this is a private env variable we use internally
// But we'll want to expose this feature officially some day
const PerfDebuggingEnabled: boolean = !!process.env.DOCUSAURUS_PERF_LOGGER;
const PerfDebuggingEnabled: boolean =
process.env.DOCUSAURUS_PERF_LOGGER === 'true';

const Thresholds = {
min: 5,
Expand Down

0 comments on commit c6642a5

Please sign in to comment.