Logs a debug level message with optional context. Use for debugging information.
Optionalcontext: Record<string, unknown>Logs an error level message with error object and optional context. Use for error events that might still allow the application to continue.
Optionalerror: ErrorOptionalcontext: Record<string, unknown>Logs an info level message with optional context. Use for general informational messages.
Optionalcontext: Record<string, unknown>Times an async operation and logs start, completion, and errors. Automatically calculates duration and logs at appropriate levels.
Name of the operation being timed
Async function to execute and time
Optionalcontext: Record<string, unknown>Optional context information
Promise that resolves with the function result
Logs a trace level message with optional context. Use for very detailed debugging information.
Optionalcontext: Record<string, unknown>Logs a warning level message with optional context. Use for potentially harmful situations.
Optionalcontext: Record<string, unknown>
Logger interface for logging operations with context. Provides structured logging with different severity levels.