Constructors
Methods
debug
- debug(summary, content?): void
Parameters
- summary: string
- content: object = {}
Returns void
error
- error(summary, error, content?): void
Parameters
- summary: string
- error: any
- content: object = {}
Returns void
info
- info(summary, content?): void
Parameters
- summary: string
- content: object = {}
Returns void
shouldLog
- shouldLog(logLevel): boolean
Parameters
- logLevel:
| "TRACE"
| "DEBUG"
| "INFO"
| "WARN"
| "ERROR"
| "FATAL"
Returns boolean
trace
- trace(summary, content?): void
Parameters
- summary: string
- content: object = {}
Returns void
warn
- warn(summary, error, content?): void
Parameters
- summary: string
- error: any
- content: object = {}
Returns void
Manage structured logging in the context of a Lambda function. Note: the log level is controlled by each Lambda function's configuration.