@norviah/logger / Exports / WriteOptions
-
WriteOptions
• 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 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 write: boolean
Determines if a specific log should be saved into a file.
Overrides the value set within Options.