[[["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-09 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eIJsonLayout\u003c/code\u003e interface within the \u003ccode\u003eGoogle.Cloud.Logging.Log4Net\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIJsonLayout\u003c/code\u003e interface is designed to convert a \u003ccode\u003elog4net.Core.LoggingEvent\u003c/code\u003e into a JSON payload represented as a \u003ccode\u003eStruct\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe interface contains a \u003ccode\u003eFormat(LoggingEvent)\u003c/code\u003e method that takes a \u003ccode\u003elog4net.Core.LoggingEvent\u003c/code\u003e and returns a \u003ccode\u003eStruct\u003c/code\u003e which is the JSON payload.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is for version 4.4.0, with previous versions such as 4.3.0, 4.2.0, 4.1.0, 4.0.0, and 3.3.0 also available for reference.\u003c/p\u003e\n"]]],[],null,["# Google.Cloud.Logging.Log4Net - Interface IJsonLayout (4.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [4.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.Logging.Log4Net/latest/Google.Cloud.Logging.Log4Net.IJsonLayout)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Logging.Log4Net/4.3.0/Google.Cloud.Logging.Log4Net.IJsonLayout)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Logging.Log4Net/4.2.0/Google.Cloud.Logging.Log4Net.IJsonLayout)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Logging.Log4Net/4.1.0/Google.Cloud.Logging.Log4Net.IJsonLayout)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Logging.Log4Net/4.0.0/Google.Cloud.Logging.Log4Net.IJsonLayout)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Logging.Log4Net/3.3.0/Google.Cloud.Logging.Log4Net.IJsonLayout) \n\n public interface IJsonLayout\n\nReference documentation and code samples for the Google.Cloud.Logging.Log4Net interface IJsonLayout.\n\nThe equivalent to log4net.Layout.ILayout, but for converting\na log4net.Core.LoggingEvent to a JSON payload in the form of\na [Struct](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Struct.html).\n\nNamespace\n---------\n\n[Google.Cloud.Logging.Log4Net](/dotnet/docs/reference/Google.Cloud.Logging.Log4Net/latest/Google.Cloud.Logging.Log4Net)\n\nAssembly\n--------\n\nGoogle.Cloud.Logging.Log4Net.dll\n\nMethods\n-------\n\n### Format(LoggingEvent)\n\n Struct Format(LoggingEvent loggingEvent)\n\nFormats the given logging event as a JSON logging payload."]]