(
message: ParameterizedString,
attributes?: Log['attributes'],
{ scope }: CaptureLogMetadata = {},
)
| 199 | * ``` |
| 200 | */ |
| 201 | export function error( |
| 202 | message: ParameterizedString, |
| 203 | attributes?: Log['attributes'], |
| 204 | { scope }: CaptureLogMetadata = {}, |
| 205 | ): void { |
| 206 | captureLog('error', message, attributes, scope); |
| 207 | } |
| 208 | |
| 209 | /** |
| 210 | * @summary Capture a log with the `fatal` level. Requires the `enableLogs` option to be enabled. |
nothing calls this directly
no test coverage detected