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
Show all
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
trait Recognized
object WARNING.type
class Unrecognized
Show all

Members list

Type members

Types

Attributes

Source
LogSeverity.scala

Attributes

Source
LogSeverity.scala

Value members

Concrete methods

final def asRecognized: Option[Recognized]

Attributes

Source
LogSeverity.scala
def companion: GeneratedEnumCompanion[LogSeverity]

Attributes

Source
LogSeverity.scala
def isAlert: Boolean

Attributes

Source
LogSeverity.scala
def isCritical: Boolean

Attributes

Source
LogSeverity.scala
def isDebug: Boolean

Attributes

Source
LogSeverity.scala
def isDefault: Boolean

Attributes

Source
LogSeverity.scala
def isEmergency: Boolean

Attributes

Source
LogSeverity.scala
def isError: Boolean

Attributes

Source
LogSeverity.scala
def isInfo: Boolean

Attributes

Source
LogSeverity.scala
def isNotice: Boolean

Attributes

Source
LogSeverity.scala
def isWarning: Boolean

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
def isUnrecognized: Boolean

Attributes

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

Attributes

Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala
def name: String

Attributes

Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala
def productArity: Int

Attributes

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

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

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