SqlLogger

com.augustnagro.magnum.SqlLogger
See theSqlLogger companion object
trait SqlLogger

Trait to provide logging of Magnum SQL statements.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Default.type
object NoOp.type

Members list

Value members

Abstract methods

def exceptionMsg(exceptionEvent: SqlExceptionEvent): String

Constructs the exception message for SqlExceptions

Constructs the exception message for SqlExceptions

Attributes

def log(successEvent: SqlSuccessEvent): Unit

Log a successful SQL statement execution. If a query fails a SqlException will be thrown, and this logger will not be triggered.

Log a successful SQL statement execution. If a query fails a SqlException will be thrown, and this logger will not be triggered.

Attributes