Preparing search index...
The search index is not available
@neozen/logzen - v
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@neozen/logzen
TLogPathOptions
Type Alias TLogPathOptions
TLog
Path
Options
:
{
[
logPath
:
string
]
:
Options
|
keyof
typeof
ELogLevel
|
number
;
}
Parameter type of
LogZen.updateLogPathOptions()
@neozen/logzen
Log
Zen
get
Tiny
Log
The most minimal log, for LogZen-less internalDebugging while dev!
Built
In
Outputs
Options
Type of options for built-in outputs, when used in the `[buildInOutputName, options]` array.
ELog
Level
Enum holds all logLevels as lowercase string, eg 'fatal', 'critical' etc. and the corresponding numeric value.
Header
The type of `options.header` in [ `Options` ](../classes/Options.html )
Log
Zen
Inspect
Options
The type of `options.inspect` in [Options](../classes/Options.html )
IOutput
Log
Info
The type of `logInfo` in [TOutputFn](../types/TOutputFn.html ) function, accessed as `this.logInfo` inside that function call
Log
Level
Descriptions
The LogLevel descriptions as an object `{[logLevelName: string]: string}` eg `LogLevelDescriptions.NONE` is `"Set logLevel to 'NONE' in your App to disable all logging."`
Options
The LogZen Options *interface*
Options
At
Constructor
Extends [Options](../classes/Options.html ) to override absolutePath & CWD. All other relative paths are calculated from these.
Options
Internal
Internal options, used by LogZen
Output
The type of `options.output` in [Options](../classes/Options.html )
TBuilt
In
Output
Names
Built-in output names - choose one of these.
TLog
Path
Options
Parameter type of [LogZen.updateLogPathOptions()](../classes/LogZen.html#updateLogPathOptions )
TOutput
Fn
The type of `outputFn` functions in `options.output` (of type [Output](../classes/Output.html ))
TPath
Replacements
Parameter type of [LogZen.addPathReplacements()](../classes/LogZen.html#addPathReplacements )
Tlog1
Method
All `.xxx1()` methods (eg `.log1()`, `l.warn1()` ) etc use this method type
Tlog
Method
All `l.xxx()` log methods (eg `.log()`, `l.warn()` etc use this type
Trace
Options
The type of `options.trace` in [ `Options` ](../classes/Options.html )
Print
Options
PrintOptions, when printMode="print".
all
Log
Method
Names
A `string[]` with all logging methods names, including `table` & `dir` eg `['fatal', 'critical', 'error', 'warn',..., 'silly', 'table', 'dir']`
log
Level
Enum
To
Number
Val
Helper to convert the string (or numeric) value of [ `ELogLevel` ](../enums/ELogLevel.html ) to its numeric value (right hand side).
log
Level
Enum
To
String
Key
Helper to convert the numeric (or the string key) value of [ `ELogLevel` ](../enums/ELogLevel.html ) to its string key (left hand side)
log
Level
Method
Names
A `string[]` with all logLevel log methods names eg `['fatal', 'critical', 'error', 'warn',..., 'silly']`, ordered by severity (lower index = higher severity)
Parameter type of LogZen.updateLogPathOptions()