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-03-21 UTC."],[[["This page provides documentation for the `LogSeverity` enum within the `Google.Cloud.Logging.Type` namespace, which is part of the `Google.Cloud.Logging.Type.dll` assembly."],["The `LogSeverity` enum defines standard severity levels for log entries, ranging from `Default` (0) to `Emergency` (800), with specific numeric values and descriptions for each level."],["You can filter log entries based on severity using expressions like `severity \u003e DEBUG AND severity \u003c= WARNING`, and you can also map non-standard severity encodings to these standard levels."],["There are multiple versions of the documentation available, ranging from version 3.3.0 up to the latest 4.2.0, all accessible through the listed links."],["The `LogSeverity` enum includes fields such as `Alert`, `Critical`, `Debug`, `Default`, `Emergency`, `Error`, `Info`, `Notice`, and `Warning`, each detailed with a description of their meaning."]]],[]]