Skip to content

Latest commit

 

History

History
71 lines (40 loc) · 1.51 KB

File metadata and controls

71 lines (40 loc) · 1.51 KB

@norviah/logger / Exports / WriteOptions

Interface: WriteOptions

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.

Defined in

types/WriteOptions.ts:19


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.

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,

Defined in

types/WriteOptions.ts:13


write

Optional write: boolean

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

Defined in

types/WriteOptions.ts:25