Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ILogObjectStringifiable

LogObject that can safely be "JSON.stringifed". All circular structures have been "util.inspected" into strings

Hierarchy

Index

Properties

argumentsArray

argumentsArray: (string | IErrorObjectStringifiable)[]

columnNumber

columnNumber: number | null

Column Name

date

date: Date

Timestamp

fileName

fileName: string

Name of the file

filePath

filePath: string

Relative path based on the main folder

fullFilePath

fullFilePath: string

Full path

functionName

functionName: string | null

Name of the function

hostname

hostname: string

Name of the host

Optional instanceName

instanceName: undefined | string

Optional name of the instance this application is running on.

isConstructor

isConstructor: boolean | null

Called from constructor

lineNumber

lineNumber: number | null

Line number

logLevel

logLevel: TLogLevelName

Log level name (e.g. debug)

logLevelId

logLevelId: TLogLevelId

Log level ID (e.g. 3)

Optional loggerName

loggerName: undefined | string

Optional name of the logger or empty string.

methodName

methodName: string | null

Name of the Method

Optional requestId

requestId: undefined | string

Optional unique request ID

Optional stack

stack: IStackFrame[]

Optional Log stack trace

toJSON

toJSON: () => ILogObjectStringifiable

Convert a LogObject into a JSON, is used by JSON.stringify()

Type declaration

typeName

typeName: string | null

Name of the class

Generated using TypeDoc