object Logging
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Logging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addTimestamp[A](self: Logger[A]): URIO[Clock, Logger[A]]
Add timestamp annotation to every message
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def console(logLevel: LogLevel = LogLevel.Info, format: LogFormat[String] = ...): ZLayer[Console with Clock, Nothing, Logging]
- def consoleErr(logLevel: LogLevel = LogLevel.Info, format: LogFormat[String] = ...): ZLayer[Console with Clock, Nothing, Logging]
- val context: URIO[Logging, LogContext]
- def debug(line: ⇒ String): ZIO[Logging, Nothing, Unit]
- def derive(f: (LogContext) ⇒ LogContext): ZIO[Logging, Nothing, Logger[String]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def error(line: ⇒ String, cause: Cause[Any]): ZIO[Logging, Nothing, Unit]
- def error(line: ⇒ String): ZIO[Logging, Nothing, Unit]
- def file(destination: Path, charset: Charset = StandardCharsets.UTF_8, autoFlushBatchSize: Int = 1, bufferedIOSize: Option[Int] = None, logLevel: LogLevel = LogLevel.Info, format: LogFormat[String] = ...): ZLayer[Console with Clock, Throwable, Logging]
- def fileAsync(destination: Path, charset: Charset = StandardCharsets.UTF_8, autoFlushBatchSize: Int = 32, bufferedIOSize: Option[Int] = Some(8192), logLevel: LogLevel = LogLevel.Info, format: LogFormat[String] = ...): ZLayer[Console with Clock, Throwable, Logging]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val ignore: Layer[Nothing, Logging]
- def info(line: ⇒ String): ZIO[Logging, Nothing, Unit]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def locally[A, R <: Logging, E, A1](fn: (LogContext) ⇒ LogContext)(zio: ZIO[R, E, A1]): ZIO[Logging with R, E, A1]
- def locallyM[A, R <: Logging, E, A1](fn: (LogContext) ⇒ URIO[R, LogContext])(zio: ZIO[R, E, A1]): ZIO[Logging with R, E, A1]
- def log(level: LogLevel)(line: ⇒ String): ZIO[Logging, Nothing, Unit]
- def make: URLayer[Appender[String], Logging]
- def modifyLogger(fn: (Logger[String]) ⇒ Logger[String]): ZLayer[Logging, Nothing, Logging]
- def modifyLoggerM[R, E](fn: (Logger[String]) ⇒ ZIO[R, E, Logger[String]]): ZLayer[Logging with R, E, Logging]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def throwable(line: ⇒ String, t: Throwable): ZIO[Logging, Nothing, Unit]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def trace(line: ⇒ String): ZIO[Logging, Nothing, Unit]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def warn(line: ⇒ String): ZIO[Logging, Nothing, Unit]
-
def
withContext(context: LogContext): ZLayer[Logging, Nothing, Logging]
modify initial context
-
def
withRootLoggerName(name: String): ZLayer[Logging, Nothing, Logging]
Adds root logger name