increase log cache size
This commit is contained in:
1 parent
961d827a52
commit
9d18d55bbf
1 file changed
+1
-1
@@ -5,7 +5,7 @@ dotenv.config();
|
|||||||
class Logger {
|
class Logger {
|
||||||
constructor() {
|
constructor() {
|
||||||
this.logCache = [];
|
this.logCache = [];
|
||||||
this.maxCacheSize = 500;
|
this.maxCacheSize = 1000;
|
||||||
const consoleFormat = format.printf(
|
const consoleFormat = format.printf(
|
||||||
({ level, message, service, method, details, timestamp, stack }) => {
|
({ level, message, service, method, details, timestamp, stack }) => {
|
||||||
if (message instanceof Object) {
|
if (message instanceof Object) {
|
||||||
|
|||||||
Reference in new issue
Block a user