LogFunction

com.phasmidsoftware.flog.LogFunction
See theLogFunction companion object
trait LogFunction

LogFunction which, almost, extends String => Unit. BUT, and this is a big but, if you simply write type LogFunction = String => Unit, you won't get the benefit of call-by-name parameter handling.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def apply(w: => String): Unit

Apply method which processes the given call-by-name string.

Apply method which processes the given call-by-name string.

Value parameters

w

a String to be logged.

Attributes

def isDebugEnabled: Boolean

Determines if debug level logging is enabled or not.

Determines if debug level logging is enabled or not.

Attributes

Returns

true if debug logging is enabled, false otherwise.

def isInfoEnabled: Boolean

Determines whether the INFO level is enabled for logging.

Determines whether the INFO level is enabled for logging.

Attributes

Returns

true if INFO level logging is enabled, false otherwise.

def isTraceEnabled: Boolean

Method to check if trace level logging is enabled.

Method to check if trace level logging is enabled.

Attributes

Returns

true if trace level logging is enabled; otherwise, false.