Properties
Static
Private
mTime
mTime: number = 0
Methods
Static
debug
- debug(filename: string, ...message: string[]): void
-
Parameters
-
filename: string
-
Rest
...message: string[]
Returns void
Static
info
- info(filename: string, ...message: string[]): void
-
Parameters
-
filename: string
-
Rest
...message: string[]
Returns void
Static
time
- time(filename: string, ...message: string[]): void
-
Parameters
-
filename: string
-
Rest
...message: string[]
Returns void
Static
warn
- warn(filename: string, ...message: string[]): void
-
Parameters
-
filename: string
-
Rest
...message: string[]
Returns void
Static
error
- error(filename: string, ...message: string[]): void
-
Parameters
-
filename: string
-
Rest
...message: string[]
Returns void
Static
Private
write
- write(type: string, filename: string, ...message: string[]): void
-
Parameters
-
type: string
-
filename: string
-
Rest
...message: string[]
Returns void
Static
start
- start(): void
-
Returns void
Static
end
- end(): number
-
Returns number
Logger
A simple logger class for logging messages to the console.
Remarks
Logger class stores logs into a ./logs folder.