forked from kkaempf/sblim-sfcb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mlog.h
34 lines (29 loc) · 796 Bytes
/
mlog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
* $Id: mlog.h,v 1.5 2009/08/07 23:31:13 mchasal Exp $
*
* (C) Copyright IBM Corp. 2003, 2004
*
* THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
* ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
* CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
*
* You can obtain a current copy of the Eclipse Public License from
* http://www.opensource.org/licenses/eclipse-1.0.php
*
* Author: Viktor Mihajlovski <mihajlov@de.ibm.cim>
* Contributors:
*
* Description: Logging
*
*/
#ifndef MLOG_H
#define MLOG_H
#define M_DEBUG 1
#define M_INFO 2
#define M_ERROR 3
#define M_SHOW 1
#define M_QUIET 0
void startLogging(const char *name, int level);
void closeLogging();
void mlogf(int priority, int errout, const char* fmt, ...);
#endif