- Preparing search index...
- The search index is not available
Documentation
Constructors
constructor
- new Logger(loggerOptions, packageName?, packageVersion?): Logger
-
Parameters
-
-
Optional
packageName: string
-
Optional
packageVersion: string
Methods
clone
- clone(packageName, packageVersion, correlationId?): Logger
-
Parameters
-
packageName: string
-
packageVersion: string
-
Optional
correlationId: string
error
- error(message, correlationId?): void
-
Parameters
-
message: string
-
Optional
correlationId: string
Returns void
errorPii
- errorPii(message, correlationId?): void
-
Parameters
-
message: string
-
Optional
correlationId: string
Returns void
executeCallback
- executeCallback(level, message, containsPii): void
-
Parameters
-
-
message: string
-
containsPii: boolean
Returns void
info
- info(message, correlationId?): void
-
Parameters
-
message: string
-
Optional
correlationId: string
Returns void
infoPii
- infoPii(message, correlationId?): void
-
Parameters
-
message: string
-
Optional
correlationId: string
Returns void
isPiiLoggingEnabled
- isPiiLoggingEnabled(): boolean
-
Returns boolean
trace
- trace(message, correlationId?): void
-
Parameters
-
message: string
-
Optional
correlationId: string
Returns void
tracePii
- tracePii(message, correlationId?): void
-
Parameters
-
message: string
-
Optional
correlationId: string
Returns void
verbose
- verbose(message, correlationId?): void
-
Parameters
-
message: string
-
Optional
correlationId: string
Returns void
verbosePii
- verbosePii(message, correlationId?): void
-
Parameters
-
message: string
-
Optional
correlationId: string
Returns void
warning
- warning(message, correlationId?): void
-
Parameters
-
message: string
-
Optional
correlationId: string
Returns void
warningPii
- warningPii(message, correlationId?): void
-
Parameters
-
message: string
-
Optional
correlationId: string
Returns void
Class which facilitates logging of messages to a specific place.