utils/strace
Interfaces
StraceLogger
Defined in: utils/strace.ts:120
Properties
| Property | Type | Defined in |
|---|---|---|
trace | (this: void, …args: any[]) => void | utils/strace.ts:121 |
debug | (this: void, …args: any[]) => void | utils/strace.ts:122 |
info | (this: void, …args: any[]) => void | utils/strace.ts:123 |
warn | (this: void, …args: any[]) => void | utils/strace.ts:124 |
error | (this: void, …args: any[]) => void | utils/strace.ts:125 |
traceLazy | (this: void, a: | string | LazyLogCallback, b?: string, c?: LazyLogCallback) => void | utils/strace.ts:127 |
debugLazy | (this: void, a: | string | LazyLogCallback, b?: string, c?: LazyLogCallback) => void | utils/strace.ts:128 |
infoLazy | (this: void, a: | string | LazyLogCallback, b?: string, c?: LazyLogCallback) => void | utils/strace.ts:129 |
warnLazy | (this: void, a: | string | LazyLogCallback, b?: string, c?: LazyLogCallback) => void | utils/strace.ts:130 |
errorLazy | (this: void, a: | string | LazyLogCallback, b?: string, c?: LazyLogCallback) => void | utils/strace.ts:131 |
isTrace | (this: void) => boolean | utils/strace.ts:133 |
isDebug | (this: void) => boolean | utils/strace.ts:134 |
isInfo | (this: void) => boolean | utils/strace.ts:135 |
isLevelEnabled | (this: void, level: LogLevel) => boolean | utils/strace.ts:136 |
setLevel | (this: void, level: LogLevel) => void | utils/strace.ts:138 |
getLevel | (this: void) => LogLevel | utils/strace.ts:139 |
setHandler | (this: void, handler?: (this: void, level: LogLevel, …args: any[]) => void) => void | utils/strace.ts:140 |
Type Aliases
LogLevel
type LogLevel = "TRACE" | "DEBUG" | "INFO" | "STATS" | "WARN" | "ERROR" | "NONE";Defined in: utils/strace.ts:1
LazyLogCallback
type LazyLogCallback = (this: void) => any[];Defined in: utils/strace.ts:75
Parameters
| Parameter | Type |
|---|---|
this | void |
Returns
any[]
Variables
strace
const strace: StraceLogger;Defined in: utils/strace.ts:146
Unified structured tracing & logging utility.
References
default
Renames and re-exports strace