1 // Copyright 2018 Google LLC.
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
7 // http://www.apache.org/licenses/LICENSE-2.0
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
18 package google.logging.type;
20 import "google/api/annotations.proto";
22 option csharp_namespace = "Google.Cloud.Logging.Type";
23 option go_package = "google.golang.org/genproto/googleapis/logging/type;ltype";
24 option java_multiple_files = true;
25 option java_outer_classname = "LogSeverityProto";
26 option java_package = "com.google.logging.type";
27 option php_namespace = "Google\\Cloud\\Logging\\Type";
29 // The severity of the event described in a log entry, expressed as one of the
30 // standard severity levels listed below. For your reference, the levels are
31 // assigned the listed numeric values. The effect of using numeric values other
32 // than those listed is undefined.
34 // You can filter for log entries by severity. For example, the following
35 // filter expression will match log entries with severities `INFO`, `NOTICE`,
38 // severity > DEBUG AND severity <= WARNING
40 // If you are writing log entries, you should map other severity encodings to
41 // one of these standard levels. For example, you might map all of Java's FINE,
42 // FINER, and FINEST levels to `LogSeverity.DEBUG`. You can preserve the
43 // original severity level in the log entry payload if you wish.
45 // (0) The log entry has no assigned severity level.
48 // (100) Debug or trace information.
51 // (200) Routine information, such as ongoing status or performance.
54 // (300) Normal but significant events, such as start up, shut down, or
55 // a configuration change.
58 // (400) Warning events might cause problems.
61 // (500) Error events are likely to cause problems.
64 // (600) Critical events cause more severe problems or outages.
67 // (700) A person must take an action immediately.
70 // (800) One or more systems are unusable.