log

doobie.util.log
object log

A module of types and instances for logged statements.

Attributes

Source
log.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
log.type

Members list

Grouped members

Handlers

object LogHandler

Module of instances and constructors for LogHandler.

Module of instances and constructors for LogHandler.

Attributes

Companion
trait
Source
log.scala
Supertypes
class Object
trait Matchable
class Any
Self type
LogHandler.type
trait LogHandler[M[_]]

Provides additional processing for Doobie LogEvents.

Provides additional processing for Doobie LogEvents.

Attributes

Companion
object
Source
log.scala
Supertypes
class Object
trait Matchable
class Any

Events

final case class ExecFailure(sql: String, params: Parameters, label: String, exec: FiniteDuration, failure: Throwable) extends LogEvent

Attributes

Source
log.scala
Supertypes
class LogEvent
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed abstract class LogEvent extends Product, Serializable

Algebraic type of events that can be passed to a LogHandler

Algebraic type of events that can be passed to a LogHandler

Attributes

Companion
object
Source
log.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
final case class ProcessingFailure(sql: String, params: Parameters, label: String, exec: FiniteDuration, processing: FiniteDuration, failure: Throwable) extends LogEvent

Attributes

Source
log.scala
Supertypes
class LogEvent
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Success(sql: String, params: Parameters, label: String, exec: FiniteDuration, processing: FiniteDuration) extends LogEvent

Attributes

Source
log.scala
Supertypes
class LogEvent
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Type members

Classlikes

object LogEvent

Attributes

Companion
class
Source
log.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
LogEvent.type
final case class LoggingInfo(sql: String, params: Parameters, label: String)

Attributes

Source
log.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Parameters

Attributes

Companion
trait
Source
log.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Parameters.type
sealed trait Parameters

Parameters used in a query. For queries using batch arguments (e.g. updateMany) argument list is constructed lazily.

Parameters used in a query. For queries using batch arguments (e.g. updateMany) argument list is constructed lazily.

Attributes

Companion
object
Source
log.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Batch
class NonBatch