@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:

NameType
optionsLogFormatting

Returns: this

format(options: LogFormatting): this

Parameters:

NameType
optionsLogFormatting

Returns: this


getMetadata

getMetadata(description: string): LogMetadata | undefined

Parameters:

NameType
descriptionstring

Returns: LogMetadata | undefined

getMetadata(description: string): LogMetadata | undefined

Parameters:

NameType
descriptionstring

Returns: LogMetadata | undefined


getTarget

getTarget(): any

Returns: any

getTarget(): any

Returns: any


hasMetadata

hasMetadata(description: string): boolean

Parameters:

NameType
descriptionstring

Returns: boolean

hasMetadata(description: string): boolean

Parameters:

NameType
descriptionstring

Returns: boolean


in

in(methodOrName: AnyFunction | string): this

Parameters:

NameType
methodOrNameAnyFunction | string

Returns: this

in(methodOrName: AnyFunction | string): this

Parameters:

NameType
methodOrNameAnyFunction | string

Returns: this


isStaticMethod

isStaticMethod(): boolean

Returns: boolean

isStaticMethod(): boolean

Returns: boolean


on

on(target: any): this

Parameters:

NameType
targetany

Returns: this

on(target: any): this

Parameters:

NameType
targetany

Returns: this


setLevel

setLevel(level: LogLevel): this

Parameters:

NameType
levelLogLevel

Returns: this

setLevel(level: LogLevel): this

Parameters:

NameType
levelLogLevel

Returns: this


toString

toString(): string

Returns: string

toString(): string

Returns: string


with

with(description: string, value?: any, keys?: string[]): this

Parameters:

NameType
descriptionstring
value?any
keys?string[]

Returns: this

with(description: string, value?: any, keys?: string[]): this

Parameters:

NameType
descriptionstring
value?any
keys?string[]

Returns: this