LoggerLike

play.api.LoggerLike
trait LoggerLike

Typical logger interface.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Logger

Members list

Value members

Abstract methods

def logger: Logger

The underlying SLF4J Logger.

The underlying SLF4J Logger.

Attributes

Concrete methods

def debug(message: => String)(implicit mc: MarkerContext): Unit

Logs a message with the DEBUG level.

Logs a message with the DEBUG level.

Value parameters

mc

the implicit marker context, if defined.

message

the message to log

Attributes

def debug(message: => String, error: => Throwable)(implicit mc: MarkerContext): Unit

Logs a message with the DEBUG level.

Logs a message with the DEBUG level.

Value parameters

error

the associated exception

mc

the implicit marker context, if defined.

message

the message to log

Attributes

def error(message: => String)(implicit mc: MarkerContext): Unit

Logs a message with the ERROR level.

Logs a message with the ERROR level.

Value parameters

mc

the implicit marker context, if defined.

message

the message to log

Attributes

def error(message: => String, error: => Throwable)(implicit mc: MarkerContext): Unit

Logs a message with the ERROR level.

Logs a message with the ERROR level.

Value parameters

error

the associated exception

mc

the implicit marker context, if defined.

message

the message to log

Attributes

def info(message: => String)(implicit mc: MarkerContext): Unit

Logs a message with the INFO level.

Logs a message with the INFO level.

Value parameters

mc

the implicit marker context, if defined.

message

the message to log

Attributes

def info(message: => String, error: => Throwable)(implicit mc: MarkerContext): Unit

Logs a message with the INFO level.

Logs a message with the INFO level.

Value parameters

error

the associated exception

mc

the implicit marker context, if defined.

message

the message to log

Attributes

def isDebugEnabled(implicit mc: MarkerContext): Boolean

true if the logger instance is enabled for the DEBUG level.

true if the logger instance is enabled for the DEBUG level.

Attributes

def isErrorEnabled(implicit mc: MarkerContext): Boolean

true if the logger instance is enabled for the ERROR level.

true if the logger instance is enabled for the ERROR level.

Attributes

def isInfoEnabled(implicit mc: MarkerContext): Boolean

true if the logger instance is enabled for the INFO level.

true if the logger instance is enabled for the INFO level.

Attributes

def isTraceEnabled(implicit mc: MarkerContext): Boolean

true if the logger instance is enabled for the TRACE level.

true if the logger instance is enabled for the TRACE level.

Attributes

def isWarnEnabled(implicit mc: MarkerContext): Boolean

true if the logger instance is enabled for the WARN level.

true if the logger instance is enabled for the WARN level.

Attributes

def trace(message: => String)(implicit mc: MarkerContext): Unit

Logs a message with the TRACE level.

Logs a message with the TRACE level.

Value parameters

mc

the implicit marker context, if defined.

message

the message to log

Attributes

def trace(message: => String, error: => Throwable)(implicit mc: MarkerContext): Unit

Logs a message with the TRACE level.

Logs a message with the TRACE level.

Value parameters

error

the associated exception

mc

the implicit marker context, if defined.

message

the message to log

Attributes

def warn(message: => String)(implicit mc: MarkerContext): Unit

Logs a message with the WARN level.

Logs a message with the WARN level.

Value parameters

mc

the implicit marker context, if defined.

message

the message to log

Attributes

def warn(message: => String, error: => Throwable)(implicit mc: MarkerContext): Unit

Logs a message with the WARN level.

Logs a message with the WARN level.

Value parameters

error

the associated exception

mc

the implicit marker context, if defined.

message

the message to log

Attributes

Concrete fields

lazy val underlyingLogger: Logger

The underlying SLF4J Logger.

The underlying SLF4J Logger.

Attributes