* Logs a message with the specified level and attributes. * * @param level The log level * @param message The message to log * @param attributes Optional key-value pairs to include with the log event
(level: LogLevel, message: string, attributes?: ExtendedAttributes)
| 26 | * @param attributes Optional key-value pairs to include with the log event |
| 27 | */ |
| 28 | log(level: LogLevel, message: string, attributes?: ExtendedAttributes): void { |
| 29 | this.sink.write(new LogEvent(level, message, attributes)) |
| 30 | } |
| 31 | |
| 32 | /** |
| 33 | * Logs a debug message. |