Skip to content

Commit 941e767

Browse files
committed
Renamed debug enabled env var and updated readme.
1 parent 745bbaf commit 941e767

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ configStrategy = {
9696
}
9797
}
9898
```
99+
Note: To print detailed logs, add `CACHE_DEBUG_ENABLED = '1'` in your env variables.
99100
## Examples:
100101

101102
#### Create Cache Object:

config/coreConstant.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ class CoreConstant {
1818
*
1919
* @returns {boolean}
2020
*/
21-
// TODO - take it from config
2221
get DEBUG_ENABLED() {
2322
// eslint-disable-next-line no-process-env
24-
return process.env.DEBUG_ENABLED;
23+
return process.env.CACHE_DEBUG_ENABLED;
2524
}
2625
}
2726

0 commit comments

Comments
 (0)