The JSON writer containing the start of the formatted log entry, meaning that
WriteStartObject() has been called for the top level JSON object and some fields have been written
but WriteEndObject() is yet to be called for the top level JSON object.
Do not call WriteEndObject() for the top level JSON object.
Type Parameter
Name
Description
TState
The type of the state information attached to the log entry.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eGoogle.Cloud.Logging.Console\u003c/code\u003e interface \u003ccode\u003eIGoogleCloudConsoleLogAugmenter\u003c/code\u003e is version 1.4.0, with previous versions available from 1.3.1 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eIGoogleCloudConsoleLogAugmenter\u003c/code\u003e allows for augmenting formatted log entries with information not already included by the \u003ccode\u003eGoogleCloudConsoleFormatter\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAugmentFormattedLogEntry\u003c/code\u003e method, part of the \u003ccode\u003eIGoogleCloudConsoleLogAugmenter\u003c/code\u003e interface, takes in a \u003ccode\u003eLogEntry\u003c/code\u003e, \u003ccode\u003eIExternalScopeProvider\u003c/code\u003e, and \u003ccode\u003eUtf8JsonWriter\u003c/code\u003e as parameters to perform the log entry augmentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAugmentFormattedLogEntry\u003c/code\u003e method does not call \u003ccode\u003eWriteEndObject()\u003c/code\u003e for the top level JSON object, as it is expected that further fields will be written to it.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTState\u003c/code\u003e is the type of state information associated with the log entry.\u003c/p\u003e\n"]]],[],null,["# Google.Cloud.Logging.Console - Interface IGoogleCloudConsoleLogAugmenter (1.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Logging.Console/latest/Google.Cloud.Logging.Console.IGoogleCloudConsoleLogAugmenter)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Logging.Console/1.4.0/Google.Cloud.Logging.Console.IGoogleCloudConsoleLogAugmenter)\n- [1.3.1](/dotnet/docs/reference/Google.Cloud.Logging.Console/1.3.1/Google.Cloud.Logging.Console.IGoogleCloudConsoleLogAugmenter)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Logging.Console/1.2.0/Google.Cloud.Logging.Console.IGoogleCloudConsoleLogAugmenter)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Logging.Console/1.1.0/Google.Cloud.Logging.Console.IGoogleCloudConsoleLogAugmenter)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Logging.Console/1.0.0/Google.Cloud.Logging.Console.IGoogleCloudConsoleLogAugmenter) \n\n public interface IGoogleCloudConsoleLogAugmenter\n\nReference documentation and code samples for the Google.Cloud.Logging.Console interface IGoogleCloudConsoleLogAugmenter.\n\nAllows augmenting formatted log entries with information not included by [GoogleCloudConsoleFormatter](/dotnet/docs/reference/Google.Cloud.Logging.Console/latest/Google.Cloud.Logging.Console.GoogleCloudConsoleFormatter).\n\nNamespace\n---------\n\n[Google.Cloud.Logging.Console](/dotnet/docs/reference/Google.Cloud.Logging.Console/latest/Google.Cloud.Logging.Console)\n\nAssembly\n--------\n\nGoogle.Cloud.Logging.Console.dll\n\nMethods\n-------\n\n### AugmentFormattedLogEntry\\\u003cTState\\\u003e(in LogEntry\\\u003cTState\\\u003e, IExternalScopeProvider, Utf8JsonWriter)\n\n void AugmentFormattedLogEntry\u003cTState\u003e(in LogEntry\u003cTState\u003e logEntry, IExternalScopeProvider scopeProvider, Utf8JsonWriter writer)\n\nAugments the formatted log entry with information not included by [GoogleCloudConsoleFormatter](/dotnet/docs/reference/Google.Cloud.Logging.Console/latest/Google.Cloud.Logging.Console.GoogleCloudConsoleFormatter)."]]