Optional
logMapping: Partial<Record<LogLevel, undefined | LogFunction>>Protected
logLogs a message at the specified log level if a corresponding log function is defined.
The severity level of the log entry.
The content of the log message.
Optional
taskId: stringOptional task identifier to retrieve the correct context
Creates a new execution context and returns a function to run code within it.
The name of the context to use in logs
A function that executes the provided callback in the context
Provides a customizable logging mechanism across different levels of verbosity.