Google.Cloud.Diagnostics.Common - Interface ILogEntryLabelProvider (5.3.0)
public interface ILogEntryLabelProvider
Reference documentation and code samples for the Google.Cloud.Diagnostics.Common interface ILogEntryLabelProvider.
Provides a hook to augment labels when a log entry is being logged.
Namespace
Google.Cloud.Diagnostics.Common
Assembly
Google.Cloud.Diagnostics.Common.dll
Methods
Invoke(Dictionary<string, string>)
void Invoke(Dictionary<string, string> labels)
Invokes the provider to augment log entry labels.
Parameter |
Name |
Description |
labels |
Dictionarystringstring
A dictionary of log entry labels.
Keys and values added to labels should not be null.
If they are, an exception will be throw when attempting to log an entry.
The entry won't be logged and the exception will be propagated depending
on the value of ExceptionHandling.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]