AbstractLogIO

izumi.logstage.api.logger.AbstractLogIO
trait AbstractLogIO[F[_]] extends UnsafeLogIO[F]

Attributes

Graph
Supertypes
trait UnsafeLogIO[F]
trait LogCreateIO[F]
class Object
trait Matchable
class Any
Known subtypes
trait LogIOStrict[F]
trait LogIO[F]
class LogIORaw[F, E]

Members list

Type members

Types

type Self[f[_]] <: AbstractLogIO[f]

Value members

Abstract methods

def log(entry: Entry): F[Unit]
def log(logLevel: Level)(messageThunk: => Message)(implicit pos: CodePositionMaterializer): F[Unit]

Concrete methods

final def apply(context: CustomContext): Self[F]
override def widen[G[_]](implicit ev: F[AnyRef] <:< G[AnyRef]): AbstractLogIO[G]

Attributes

Definition Classes

Inherited and Abstract methods

def acceptable(logLevel: Level)(implicit pos: CodePositionMaterializer): F[Boolean]

Check if this class/package is allowed to log messages at or above logLevel

Check if this class/package is allowed to log messages at or above logLevel

Attributes

Inherited from:
UnsafeLogIO
def acceptable(loggerId: LoggerId, logLevel: Level): F[Boolean]

Check if loggerId is not blacklisted and logLevel is at or above the configured threshold

Check if loggerId is not blacklisted and logLevel is at or above the configured threshold

Attributes

Inherited from:
UnsafeLogIO
def createContext(logLevel: Level, customContext: CustomContext)(implicit pos: CodePositionMaterializer): F[Context]

Attributes

Inherited from:
LogCreateIO
def createEntry(logLevel: Level, message: Message)(implicit pos: CodePositionMaterializer): F[Entry]

Attributes

Inherited from:
LogCreateIO
def unsafeLog(entry: Entry): F[Unit]

Log irrespective of the log level threshold

Log irrespective of the log level threshold

Attributes

Inherited from:
UnsafeLogIO