@norviah/logger / Exports / LoggingOptions
-
↳
LoggingOptions
• Optional both: boolean
If WriteOptions.subDir is specified, this property determines if a
log should be saved within the root directory and any subdirectories.
• Optional colors: ColorOptions
Represents colors to apply for different aspects of a log.
• Optional name: string
The name of the file that logs will be saved into.
If not provided, logs will be saved as MM-DD-YYYY.txt.
• Optional subDir: string
If provided, logs will be saved into this subdirectory,
or multiple, within the root dir for logs provided within
LoggingOptions,
• Optional title: string
The title of a log. If not specified, a log won't have a title.
• Optional write: boolean
Determines if a specific log should be saved into a file.
Overrides the value set within Options.