LogSeverity

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.

Companion
object
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object ALERT
object CRITICAL
object DEBUG
object DEFAULT
object EMERGENCY
object ERROR
object INFO
object NOTICE
object WARNING

Type members

Types

Value members

Concrete methods

final
def companion: GeneratedEnumCompanion[LogSeverity]
def isAlert: Boolean
def isCritical: Boolean
def isDebug: Boolean
def isDefault: Boolean
def isEmergency: Boolean
def isError: Boolean
def isInfo: Boolean
def isNotice: Boolean
def isWarning: Boolean

Inherited methods

def canEqual(that: Any): Boolean
Inherited from
Equals
def index: Int
Inherited from
GeneratedEnum
def isUnrecognized: Boolean
Inherited from
GeneratedEnum
def javaValueDescriptor: EnumValueDescriptor
Inherited from
GeneratedEnum
def name: String
Inherited from
GeneratedEnum
def productArity: Int
Inherited from
Product
def productElement(n: Int): Any
Inherited from
Product
def productElementName(n: Int): String
Inherited from
Product
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def productPrefix: String
Inherited from
Product
def scalaValueDescriptor: EnumValueDescriptor
Inherited from
GeneratedEnum
override
def toString: String
Definition Classes
GeneratedEnum -> Any
Inherited from
GeneratedEnum

Concrete fields

val value: Int