概述


目录


Log (接口)

Log

签名

interface Log {
  readonly debug: Reader<string, void>
  readonly error: Reader<string, void>
  readonly info: Reader<string, void>
  readonly log: Reader<string, void>
  readonly warn: Reader<string, void>
}

v0.2.0 中添加

MonadLog (接口)

Monad Log

签名

interface MonadLog {
  readonly debug: MonadFunction<string, void>
  readonly error: MonadFunction<string, void>
  readonly info: MonadFunction<string, void>
  readonly log: MonadFunction<string, void>
  readonly warn: MonadFunction<string, void>
}

v0.2.0 中添加