• OCaml logo OCaml logo
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Searching...
    Or go to: Standard Library API
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Get started
  • mirage-block-lwt

  • Documentation
  • mirage-block-lwt lib
  • Mirage_block_log .Log Module
ON THIS PAGE
  • Log functions
    • Logging result value Errors
package mirage-block-lwt
  • mirage-block-lwt
    • Mirage_block_compare
      • Compare
        • Dest
        • From
    • Mirage_block_copy
      • Copy
        • Dest
        • From
        • From_seekable
        • Sparse_copy
      • Make_seekable
        • B
      • Sparse_copy
        • Dest
        • From
    • Mirage_block_iter
      • Fast_fold
        • Seekable
      • Fold
        • Block
    • Mirage_block_log
      • Log
    • Mirage_block_lwt
      • Compare
        • A
        • B
      • Copy
        • A
        • B
      • Fast_fold
        • A
      • Fill
        • A
      • Fold
        • A
      • Make_safe
        • B
      • Mem
      • RESIZABLE
      • S
      • SEEKABLE
      • Sparse_copy
        • A
        • B
    • Mirage_block_lwt_s
      • RESIZABLE
      • S
      • SEEKABLE
    • Mirage_block_mem
      • Int64Map
    • Mirage_block_patterns
      • Fill
        • Block
    • Mirage_block_safe
      • Make
        • B
Legend:
Library
Module
Module type
Parameter
Class
Class type

Log functions

val msg : Logs.level -> 'a Logs.log

See Logs.msg.

val app : 'a Logs.log

app is msg App.

val err : 'a Logs.log

err is msg Error.

val warn : 'a Logs.log

warn is msg Warning.

val info : 'a Logs.log

info is msg Info.

val debug : 'a Logs.log

debug is msg Debug.

val kmsg : (unit -> 'b) -> Logs.level -> ('a, 'b) Logs.msgf -> 'b

See Logs.kmsg.

Logging result value Errors

val on_error : ?level:Logs.level -> ?header:string -> ?tags:Logs.Tag.set -> pp:(Format.formatter -> 'b -> unit) -> use:('b -> 'a) -> ('a, 'b) Pervasives.result -> 'a

See Logs.on_error.

val on_error_msg : ?level:Logs.level -> ?header:string -> ?tags:Logs.Tag.set -> use:(unit -> 'a) -> ('a, [ `Msg of string ]) Pervasives.result -> 'a

See Logs.on_error_msg.

ON THIS PAGE
  • Log functions
    • Logging result value Errors

Footer

OCaml

Innovation. Community. Security.

GitHub Discord Twitter Peertube RSS

About Us

  • Industrial Users
  • Academic Users
  • Why OCaml

Resources

  • Get Started
  • Language Manual
  • Standard Library API
  • Books
  • Releases

Community

  • Blog
  • Jobs

Policies

  • Carbon Footprint
  • Governance
  • Privacy
  • Code of Conduct