Setting tag sliver-openvswitch-2.2.90-1
[sliver-openvswitch.git] / include / windows / syslog.h
1 /*
2  * Copyright 2013 Cloudbase Solutions Srl
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License"); you may
5  * not use this file except in compliance with the License.You may obtain
6  * a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the
13  * License for the specific language governing permissions and limitations
14  * under the License.
15  */
16
17 #ifndef SYSLOG_H
18 #define SYSLOG_H 1
19
20 #define LOG_EMERG       0       /* system is unusable */
21 #define LOG_ALERT       1       /* action must be taken immediately */
22 #define LOG_CRIT        2       /* critical conditions */
23 #define LOG_ERR         3       /* error conditions */
24 #define LOG_WARNING     4       /* warning conditions */
25 #define LOG_NOTICE      5       /* normal but significant condition */
26 #define LOG_INFO        6       /* informational */
27 #define LOG_DEBUG       7       /* debug-level messages */
28 #define LOG_NDELAY      8       /* don't delay open */
29 #define LOG_DAEMON      24      /* system daemons */
30
31 #define LOG_LOCAL0      (16<<3) /* reserved for local use */
32 #define LOG_LOCAL1      (17<<3) /* reserved for local use */
33 #define LOG_LOCAL2      (18<<3) /* reserved for local use */
34 #define LOG_LOCAL3      (19<<3) /* reserved for local use */
35 #define LOG_LOCAL4      (20<<3) /* reserved for local use */
36 #define LOG_LOCAL5      (21<<3) /* reserved for local use */
37 #define LOG_LOCAL6      (22<<3) /* reserved for local use */
38 #define LOG_LOCAL7      (23<<3) /* reserved for local use */
39
40 static inline void
41 openlog(const char *ident OVS_UNUSED, int option OVS_UNUSED,
42         int facility OVS_UNUSED)
43 {
44 }
45
46 static inline void
47 syslog(int priority OVS_UNUSED, const char *format OVS_UNUSED, ...)
48 {
49 }
50
51 #endif /* syslog.h */