A common proto for logging HTTP requests. Only contains semantics
defined by the HTTP specification. Product-specific logging
information MUST be defined in a separate message.
The severity of the event described in a log entry, expressed as one of the
standard severity levels listed below. For your reference, the levels are
assigned the listed numeric values. The effect of using numeric values other
than those listed is undefined.
You can filter for log entries by severity. For example, the following
filter expression will match log entries with severities INFO, NOTICE,
and WARNING:
severity > DEBUG AND severity <= WARNING
If you are writing log entries, you should map other severity encodings to
one of these standard levels. For example, you might map all of Java's FINE,
FINER, and FINEST levels to LogSeverity.DEBUG. You can preserve the
original severity level in the log entry payload if you wish.
[[["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 available for Google.Cloud.Logging.Type is 4.2.0.\u003c/p\u003e\n"],["\u003cp\u003ePrevious versions of Google.Cloud.Logging.Type are available, including versions 4.1.0, 4.0.0, 3.5.0, 3.4.0, and 3.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHttpRequest\u003c/code\u003e class is provided for logging HTTP requests, adhering to HTTP specifications.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLogSeverity\u003c/code\u003e enum defines standard severity levels for log entries, allowing filtering based on severity.\u003c/p\u003e\n"],["\u003cp\u003eWhen writing log entries, external severity encodings should map to the \u003ccode\u003eLogSeverity\u003c/code\u003e enum's standard levels, such as mapping Java's FINE, FINER, and FINEST levels to \u003ccode\u003eLogSeverity.DEBUG\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google.Cloud.Logging.Type - Namespace Google.Cloud.Logging.Type (4.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [4.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.Logging.Type/latest/Google.Cloud.Logging.Type)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Logging.Type/4.1.0/Google.Cloud.Logging.Type)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Logging.Type/4.0.0/Google.Cloud.Logging.Type)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Logging.Type/3.5.0/Google.Cloud.Logging.Type)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Logging.Type/3.4.0/Google.Cloud.Logging.Type)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Logging.Type/3.3.0/Google.Cloud.Logging.Type) \n\nClasses\n-------\n\n### [HttpRequest](/dotnet/docs/reference/Google.Cloud.Logging.Type/latest/Google.Cloud.Logging.Type.HttpRequest)\n\nA common proto for logging HTTP requests. Only contains semantics\ndefined by the HTTP specification. Product-specific logging\ninformation MUST be defined in a separate message.\n\nEnums\n-----\n\n### [LogSeverity](/dotnet/docs/reference/Google.Cloud.Logging.Type/latest/Google.Cloud.Logging.Type.LogSeverity)\n\nThe severity of the event described in a log entry, expressed as one of the\nstandard severity levels listed below. For your reference, the levels are\nassigned the listed numeric values. The effect of using numeric values other\nthan those listed is undefined.\n\nYou can filter for log entries by severity. For example, the following\nfilter expression will match log entries with severities `INFO`, `NOTICE`,\nand `WARNING`: \n\n severity \u003e DEBUG AND severity \u003c= WARNING\n\nIf you are writing log entries, you should map other severity encodings to\none of these standard levels. For example, you might map all of Java's FINE,\nFINER, and FINEST levels to `LogSeverity.DEBUG`. You can preserve the\noriginal severity level in the log entry payload if you wish."]]