case object GlobalLogContext extends LogContext with Product with Serializable
The global log context which should be used to log global messages.
This context is automatically registered with the OPALLogger framework and uses, by default, a ConsoleOPALLogger.
- Source
- GlobalLogContext.scala
- Alphabetic
- By Inheritance
- GlobalLogContext
- Serializable
- Product
- Equals
- LogContext
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def incrementAndGetCount(message: LogMessage): Int
Increments the counter for the given message and returns the new value.
Increments the counter for the given message and returns the new value.
- Definition Classes
- LogContext
- final def logContextId: Int
The unique id associated with this log context.
The unique id associated with this log context. Each log context gets a unique id when it is registered with the OPALLogger. This id will not change afterwards.
- Definition Classes
- LogContext
- def newInstance: LogContext
- Definition Classes
- GlobalLogContext → LogContext
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def successor: LogContext
Creates a new log context that is the successor of this context and which will automatically be associated with the same logger as this
LogContext
.Creates a new log context that is the successor of this context and which will automatically be associated with the same logger as this
LogContext
.- Definition Classes
- GlobalLogContext → LogContext