We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
time: string # 2024-07-10T15:16:50.530Z context: component: math.calculator operation: pow severity: 'DEBUG' | 'INFO' | 'WARNING' | 'ERROR' message: string attributes?: Record<string, unknown>
{"time": "2024-07-10T15:16:50.530Z", ... }
async effect (input, context) { context.logs.info('') /* TODO: context.metrics.hist() context.metrics.inc() context.span('calculations', (telemetry) => { // calculations telemetry.logs.info('calculated') telemetry.metrics.inc('calculations') telemetry.span('reporting', (telemetry) => { context.remote.reports.foo.add({ }) }) }) */ }
log(message: string, ...values: string, attributes?: Record<string, string | number | boolean>): void
log('Message %n from %s has been sent', id, username, { balance })
From util.format.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Abstract Implementation
Log entry model
Aspect
Logging function signature
log(message: string, ...values: string, attributes?: Record<string, string | number | boolean>): void
log('Message %n from %s has been sent', id, username, { balance })
From util.format.
The text was updated successfully, but these errors were encountered: