File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -433,6 +433,14 @@ new Logger({ exposeErrorCodeFrame: false });
433433![ tslog with a code frame] ( https://raw.githubusercontent.com/fullstack-build/tslog/master/docs/assets/tslog_code_frame.png )
434434
435435
436+ ##### ` ignoreStackLevels `
437+ ``` default: 3 ```
438+
439+ Defines how many stack levels should be ignored.
440+ ` tslog ` adds additional 3 layers to the stack and that the reason why the default is set to ` 3 ` .
441+ You can increase this number, if you want to add additional layers (e.g. a factory class or a facade).
442+
443+
436444##### ` suppressStdOutput `
437445``` default: false ```
438446
@@ -469,6 +477,12 @@ new Logger({ name: "console", overwriteConsole: true });
469477
470478_ There is no ` console.fatal ` ._
471479
480+
481+ ##### ` colorizePrettyLogs `
482+ ``` default: true ```
483+
484+ By default ` pretty ` output is colorized with ANSI escape codes. If you prefer a plain output, you can disable the colorization with this setting.
485+
472486##### ` logLevelsColors `
473487
474488This setting allows you to overwrite the default log level colors of ` tslog ` .
You can’t perform that action at this time.
0 commit comments