File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/baggage-log-record-processor/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1616
1717import { BaggageKeyPredicate } from './types' ;
1818import { Context , propagation } from '@opentelemetry/api' ;
19- import { LogRecord , LogRecordProcessor } from '@opentelemetry/sdk-logs' ;
19+ import { SdkLogRecord , LogRecordProcessor } from '@opentelemetry/sdk-logs' ;
2020
2121/**
2222 * BaggageLogRecordProcessor is a {@link LogRecordProcessor} that reads entries stored in {@link Baggage}
@@ -50,11 +50,11 @@ export class BaggageLogRecordProcessor implements LogRecordProcessor {
5050 }
5151
5252 /**
53- * Called when a {@link LogRecord } is emit
53+ * Called when a {@link SdkLogRecord } is emit
5454 * @param logRecord the ReadWriteLogRecord that just emitted.
5555 * @param context the current Context, or an empty Context if the Logger was obtained with include_trace_context=false
5656 */
57- onEmit ( logRecord : LogRecord , context ?: Context ) : void {
57+ onEmit ( logRecord : SdkLogRecord , context ?: Context ) : void {
5858 if ( context ) {
5959 ( propagation . getBaggage ( context ) ?. getAllEntries ( ) ?? [ ] )
6060 . filter ( entry => this . _keyPredicate ( entry [ 0 ] ) )
You can’t perform that action at this time.
0 commit comments