package annexlib

  1. Overview
  2. Docs
type facility = [
  1. | `LOG_AUTH
  2. | `LOG_AUTHPRIV
  3. | `LOG_CONSOLE
  4. | `LOG_CRON
  5. | `LOG_DAEMON
  6. | `LOG_FTP
  7. | `LOG_KERN
  8. | `LOG_LOCAL0
  9. | `LOG_LOCAL1
  10. | `LOG_LOCAL2
  11. | `LOG_LOCAL3
  12. | `LOG_LOCAL4
  13. | `LOG_LOCAL5
  14. | `LOG_LOCAL6
  15. | `LOG_LOCAL7
  16. | `LOG_LPR
  17. | `LOG_MAIL
  18. | `LOG_NEWS
  19. | `LOG_NTP
  20. | `LOG_SECURITY
  21. | `LOG_SYSLOG
  22. | `LOG_USER
  23. | `LOG_UUCP
]
type flag = [
  1. | `LOG_CONS
  2. | `LOG_NDELAY
  3. | `LOG_PERROR
  4. | `LOG_PID
]
type level = [
  1. | `LOG_ALERT
  2. | `LOG_CRIT
  3. | `LOG_DEBUG
  4. | `LOG_EMERG
  5. | `LOG_ERR
  6. | `LOG_INFO
  7. | `LOG_NOTICE
  8. | `LOG_WARNING
]
val set_logpath : string -> unit
val set_socktype : Unix.socket_type -> unit
val openlog : string -> flag list -> facility -> unit
val syslog : ?fac:facility -> level -> string -> unit
val closelog : unit -> unit
OCaml

Innovation. Community. Security.