@eveble/eveble
Hierarchy
- LogEntry
Implemented by
Index
Properties
Methods
Properties
level
• level: LogLevel
Readonly
message
• message: string
Readonly
metadata
• metadata: Map‹string, LogMetadata›
Optional
method
• method? : function
Type declaration:
▸ (): AnyFunction
Optional
methodName
• methodName? : string
Readonly
options
• options: LogFormatting
Optional
typeName
• typeName? : TypeName | undefined
Methods
format
▸ format(options
: LogFormatting): this
Parameters:
Name | Type |
---|---|
options | LogFormatting |
Returns: this
▸ format(options
: LogFormatting): this
Parameters:
Name | Type |
---|---|
options | LogFormatting |
Returns: this
getMetadata
▸ getMetadata(description
: string): LogMetadata | undefined
Parameters:
Name | Type |
---|---|
description | string |
Returns: LogMetadata | undefined
▸ getMetadata(description
: string): LogMetadata | undefined
Parameters:
Name | Type |
---|---|
description | string |
Returns: LogMetadata | undefined
getTarget
▸ getTarget(): any
Returns: any
▸ getTarget(): any
Returns: any
hasMetadata
▸ hasMetadata(description
: string): boolean
Parameters:
Name | Type |
---|---|
description | string |
Returns: boolean
▸ hasMetadata(description
: string): boolean
Parameters:
Name | Type |
---|---|
description | string |
Returns: boolean
in
▸ in(methodOrName
: AnyFunction | string): this
Parameters:
Name | Type |
---|---|
methodOrName | AnyFunction | string |
Returns: this
▸ in(methodOrName
: AnyFunction | string): this
Parameters:
Name | Type |
---|---|
methodOrName | AnyFunction | string |
Returns: this
isStaticMethod
▸ isStaticMethod(): boolean
Returns: boolean
▸ isStaticMethod(): boolean
Returns: boolean
on
▸ on(target
: any): this
Parameters:
Name | Type |
---|---|
target | any |
Returns: this
▸ on(target
: any): this
Parameters:
Name | Type |
---|---|
target | any |
Returns: this
setLevel
▸ setLevel(level
: LogLevel): this
Parameters:
Name | Type |
---|---|
level | LogLevel |
Returns: this
▸ setLevel(level
: LogLevel): this
Parameters:
Name | Type |
---|---|
level | LogLevel |
Returns: this
toString
▸ toString(): string
Returns: string
▸ toString(): string
Returns: string
with
▸ with(description
: string, value?
: any, keys?
: string[]): this
Parameters:
Name | Type |
---|---|
description | string |
value? | any |
keys? | string[] |
Returns: this
▸ with(description
: string, value?
: any, keys?
: string[]): this
Parameters:
Name | Type |
---|---|
description | string |
value? | any |
keys? | string[] |
Returns: this