LogSeverity

com.google.logging.type.log_severity.LogSeverity
See theLogSeverity companion object
sealed abstract class LogSeverity(val value: Int) extends GeneratedEnum

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.

Attributes

Companion:
object
Source:
LogSeverity.scala
Graph
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
object ALERT.type
object CRITICAL.type
object DEBUG.type
object DEFAULT.type
object EMERGENCY.type
object ERROR.type
object INFO.type
object NOTICE.type
object WARNING.type

Members list

Concise view

Type members

Types

Attributes

Source:
LogSeverity.scala

Value members

Concrete methods

Attributes

Source:
LogSeverity.scala
def companion: GeneratedEnumCompanion[LogSeverity]

Attributes

Source:
LogSeverity.scala

Attributes

Source:
LogSeverity.scala

Attributes

Source:
LogSeverity.scala

Attributes

Source:
LogSeverity.scala

Attributes

Source:
LogSeverity.scala

Attributes

Source:
LogSeverity.scala

Attributes

Source:
LogSeverity.scala

Attributes

Source:
LogSeverity.scala

Attributes

Source:
LogSeverity.scala

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def index: Int

Attributes

Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala

Attributes

Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala
def javaValueDescriptor: EnumValueDescriptor

Attributes

Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala

Attributes

Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def scalaValueDescriptor: EnumValueDescriptor

Attributes

Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
GeneratedEnum -> Any
Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala

Concrete fields

val value: Int

Attributes

Source:
LogSeverity.scala