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"]],[["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\u003eThis page documents the \u003ccode\u003eLogSeverity\u003c/code\u003e enum, which defines the severity levels for events described in log entries, with numeric values assigned to each level.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLogSeverity\u003c/code\u003e enum is part of the \u003ccode\u003eGoogle.Cloud.Logging.Type\u003c/code\u003e namespace and is included in the \u003ccode\u003eGoogle.Cloud.Logging.Type.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eLog entries can be filtered by their severity level using expressions like \u003ccode\u003eseverity > DEBUG AND severity <= WARNING\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe severity levels range from \u003ccode\u003eDefault\u003c/code\u003e (0) to \u003ccode\u003eEmergency\u003c/code\u003e (800), including levels like \u003ccode\u003eDebug\u003c/code\u003e, \u003ccode\u003eInfo\u003c/code\u003e, \u003ccode\u003eWarning\u003c/code\u003e, \u003ccode\u003eError\u003c/code\u003e, \u003ccode\u003eCritical\u003c/code\u003e, and \u003ccode\u003eAlert\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of LogSeverity is 4.2.0, with prior versions being 4.1.0, 4.0.0, 3.5.0, 3.4.0 and 3.3.0.\u003c/p\u003e\n"]]],[],null,[]]