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.
[[["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-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eILogEntryLabelProvider\u003c/code\u003e interface in the \u003ccode\u003eGoogle.Cloud.Diagnostics.Common\u003c/code\u003e namespace provides a mechanism to add custom labels to log entries before they are logged.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eILogEntryLabelProvider\u003c/code\u003e interface is 5.2.0, with previous versions including 5.1.0, 5.0.0, 4.4.0, and 4.3.1 also available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInvoke\u003c/code\u003e method of the \u003ccode\u003eILogEntryLabelProvider\u003c/code\u003e interface takes a dictionary of string keys and string values, used for custom log entry labels.\u003c/p\u003e\n"],["\u003cp\u003eLabels added to the log entry label dictionary cannot have null keys or values; doing so will prevent the log entry from being logged and throw an exception.\u003c/p\u003e\n"]]],[],null,["# Google.Cloud.Diagnostics.Common - Interface ILogEntryLabelProvider (5.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.3.0 (latest)](/dotnet/docs/reference/Google.Cloud.Diagnostics.Common/latest/Google.Cloud.Diagnostics.Common.ILogEntryLabelProvider)\n- [5.2.0](/dotnet/docs/reference/Google.Cloud.Diagnostics.Common/5.2.0/Google.Cloud.Diagnostics.Common.ILogEntryLabelProvider)\n- [5.1.0](/dotnet/docs/reference/Google.Cloud.Diagnostics.Common/5.1.0/Google.Cloud.Diagnostics.Common.ILogEntryLabelProvider)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Diagnostics.Common/5.0.0/Google.Cloud.Diagnostics.Common.ILogEntryLabelProvider)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Diagnostics.Common/4.4.0/Google.Cloud.Diagnostics.Common.ILogEntryLabelProvider)\n- [4.3.1](/dotnet/docs/reference/Google.Cloud.Diagnostics.Common/4.3.1/Google.Cloud.Diagnostics.Common.ILogEntryLabelProvider) \n\n public interface ILogEntryLabelProvider\n\nReference documentation and code samples for the Google.Cloud.Diagnostics.Common interface ILogEntryLabelProvider.\n\nProvides a hook to augment labels when a log entry is being logged.\n\nNamespace\n---------\n\n[Google.Cloud.Diagnostics.Common](/dotnet/docs/reference/Google.Cloud.Diagnostics.Common/latest/Google.Cloud.Diagnostics.Common)\n\nAssembly\n--------\n\nGoogle.Cloud.Diagnostics.Common.dll\n\nMethods\n-------\n\n### Invoke(Dictionary\\\u003cstring, string\\\u003e)\n\n void Invoke(Dictionary\u003cstring, string\u003e labels)\n\nInvokes the provider to augment log entry labels."]]