~ubuntu-branches/ubuntu/quantal/xen/quantal

« back to all changes in this revision

Viewing changes to tools/ocaml/libs/log/syslog.ml

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-12-22 04:53:35 UTC
  • mfrom: (0.4.1) (1.3.2) (15.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20111222045335-k2jy47lo9124o7e3
Tags: 4.1.2-2ubuntu1
* Merge from Debian testing.  Remaining changes:
    - libxenstore3.0: Conflict and replaces libxen3.
    - libxen-dev: Conflict and replaces libxen3-dev.
    - xenstore-utils: Conflict and replaces libxen3.
    - xen-utils-4.1: Conflict and replaces libxen3, python-xen-3.3,
      and xen-utils-4.1.
    - Make sure the LDFLAGS value passed is suitable for use by ld
      rather than gcc.
    - Dropped:
      - debian/patches/upstream-23044:d4ca456c0c25
      - debian/patches/upstream-23104:1976adbf2b80
      - debian/patches/upstream-changeset-23146.patch
      - debian/patches/upstream-changeset-23147.patch
      - debian/patches/xen-pirq-resubmit-irq.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
(*
2
 
 * Copyright (C) 2006-2007 XenSource Ltd.
3
 
 * Copyright (C) 2008      Citrix Ltd.
4
 
 * Author Vincent Hanquez <vincent.hanquez@eu.citrix.com>
5
 
 *
6
 
 * This program is free software; you can redistribute it and/or modify
7
 
 * it under the terms of the GNU Lesser General Public License as published
8
 
 * by the Free Software Foundation; version 2.1 only. with the special
9
 
 * exception on linking described in file LICENSE.
10
 
 *
11
 
 * This program is distributed in the hope that it will be useful,
12
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 * GNU Lesser General Public License for more details.
15
 
 *)
16
 
 
17
 
type level = Emerg | Alert | Crit | Err | Warning | Notice | Info | Debug
18
 
type options = Cons | Ndelay | Nowait | Odelay | Perror | Pid
19
 
type facility = Auth | Authpriv | Cron | Daemon | Ftp | Kern
20
 
              | Local0 | Local1 | Local2 | Local3
21
 
              | Local4 | Local5 | Local6 | Local7
22
 
              | Lpr | Mail | News | Syslog | User | Uucp
23
 
 
24
 
(* external init : string -> options list -> facility -> unit = "stub_openlog" *)
25
 
external log : facility -> level -> string -> unit = "stub_syslog"
26
 
external close : unit -> unit = "stub_closelog"