Object/Trait

spinoco.fs2.log

Log

Related Docs: trait Log | package log

Permalink

object Log

Source
Log.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Log
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Level extends Enumeration

    Permalink

    various Log levels to log *

  5. def apply[F[_]](implicit instance: Log[F]): Log[F]

    Permalink
    Annotations
    @inline()
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def async[F[_]](implicit arg0: Concurrent[F], arg1: LoggerProvider[F]): Resource[F, Log[F]]

    Permalink

    Asynchronous logger instance.

    Asynchronous logger instance.

    Resulting F completes immediately once all logging event components are captured and enqueued for processing. Then, in single thread the events are processed to supplied logging provider.

    This is useful if you do not want to block the main path of the program with any delay our logging (i.e. witting to file) shall incur. Also note that any message or detail passed to log, is materialized after the log event is submitted, effectively preventing program from possible expensive operation (i.e. converting details to string).

    This logger incurs in total larger overhead than sync variant, but gives much more predictable performance penalty while logging.

    The time is captured when the message is submitted to queue, to provide accurate timing. That means, however that in high concurrent scenarios messages may be output to provider out of time order, however with correct timestamp.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def sync[F[_]](implicit arg0: Sync[F], arg1: LoggerProvider[F]): Resource[F, Log[F]]

    Permalink

    Synchronous logger instance.

    Synchronous logger instance. Resulting F after logging statement will not complete, until log record is committed to underlying logging provider.

    Neither the message nor details are materialized if the provider won't accept the message in supplied context and level.

  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped