We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1440e0 commit 607a383Copy full SHA for 607a383
examples/bunyan/app.js
@@ -28,7 +28,7 @@ const log = bunyan.createLogger({ name: 'myapp', level: 'debug' });
28
log.debug({ foo: 'bar' }, 'hi');
29
30
const tracer = otel.trace.getTracer('example');
31
-tracer.startActiveSpan('manual-span', (span) => {
+tracer.startActiveSpan('manual-span', span => {
32
log.info('this record will have trace_id et al fields for the current span');
33
span.end();
34
});
0 commit comments