TaggedLoggerAdapter Class
This API is deprecated and will be removed in a future release.
0.56, remove TaggedLoggerAdapter once its usage is removed from container-runtime. Issue: #8191 TaggedLoggerAdapter class can add tag handling to your logger.
Signature
export declare class TaggedLoggerAdapter implements ITelemetryBaseLogger
Implements: ITelemetryBaseLogger
Constructors
Constructor | Description |
---|---|
(constructor)(logger) | Constructs a new instance of the TaggedLoggerAdapter class |
Methods
Method | Return Type | Description |
---|---|---|
send(eventWithTagsMaybe) | void |
Constructor Details
(constructor)
Constructs a new instance of the TaggedLoggerAdapter
class
Signature
constructor(logger: ITelemetryBaseLogger);
Parameters
Parameter | Type | Description |
---|---|---|
logger | ITelemetryBaseLogger |
Method Details
send
Signature
send(eventWithTagsMaybe: ITelemetryBaseEvent): void;
Parameters
Parameter | Type | Description |
---|---|---|
eventWithTagsMaybe | ITelemetryBaseEvent |