Skip to content

Latest commit

 

History

History
114 lines (63 loc) · 2.41 KB

File metadata and controls

114 lines (63 loc) · 2.41 KB

@norviah/logger / Exports / LoggingOptions

Interface: LoggingOptions

Hierarchy

Table of contents

Properties

Properties

both

Optional both: boolean

If WriteOptions.subDir is specified, this property determines if a log should be saved within the root directory and any subdirectories.

Inherited from

WriteOptions.both

Defined in

types/WriteOptions.ts:19


colors

Optional colors: ColorOptions

Represents colors to apply for different aspects of a log.

Defined in

types/LoggingOptions.ts:8


name

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.

Inherited from

WriteOptions.name

Defined in

types/WriteOptions.ts:6


subDir

Optional subDir: string

If provided, logs will be saved into this subdirectory, or multiple, within the root dir for logs provided within LoggingOptions,

Inherited from

WriteOptions.subDir

Defined in

types/WriteOptions.ts:13


title

Optional title: string

The title of a log. If not specified, a log won't have a title.

Defined in

types/LoggingOptions.ts:14


write

Optional write: boolean

Determines if a specific log should be saved into a file. Overrides the value set within Options.

Inherited from

WriteOptions.write

Defined in

types/WriteOptions.ts:25