package extunix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type options =
  1. | LOG_PID
  2. | LOG_CONS
  3. | LOG_NDELAY
  4. | LOG_ODELAY
  5. | LOG_NOWAIT
type facility =
  1. | LOG_KERN
  2. | LOG_USER
  3. | LOG_MAIL
  4. | LOG_NEWS
  5. | LOG_UUCP
  6. | LOG_DAEMON
  7. | LOG_AUTH
  8. | LOG_CRON
  9. | LOG_LPR
  10. | LOG_LOCAL0
  11. | LOG_LOCAL1
  12. | LOG_LOCAL2
  13. | LOG_LOCAL3
  14. | LOG_LOCAL4
  15. | LOG_LOCAL5
  16. | LOG_LOCAL6
  17. | LOG_LOCAL7
type level =
  1. | LOG_EMERG
  2. | LOG_ALERT
  3. | LOG_CRIT
  4. | LOG_ERR
  5. | LOG_WARNING
  6. | LOG_NOTICE
  7. | LOG_INFO
  8. | LOG_DEBUG
val setlogmask : level list -> level list
val openlog : ?ident:string -> options list -> facility -> unit
val closelog : unit -> unit
val syslog : ?facility:facility -> level -> ('a, unit, string, unit) Stdlib.format4 -> 'a
val log_upto : level -> level list
OCaml

Innovation. Community. Security.