47 #ifndef CCXX_MISSING_H_ 51 #ifndef CCXX_THREAD_H_ 59 #ifdef CCXX_NAMESPACES 135 #ifndef HAVE_SYSLOG_H 144 ThreadImpl *getPriv(
void);
173 void open(
const char *ident, Class grp = classUser);
181 Slog &operator()(
const char *ident, Class grp = classUser,
182 Level level = levelError);
189 Slog &operator()(Level level, Class grp = classDefault);
194 Slog &operator()(
void);
202 void error(
const char *format, ...);
209 void warn(
const char *format, ...);
216 void debug(
const char *format, ...);
223 void emerg(
const char *format, ...);
230 void alert(
const char *format, ...);
237 void critical(
const char *format, ...);
244 void notice(
const char *format, ...);
251 void info(
const char *format, ...);
301 #ifdef CCXX_NAMESPACES __EXPORT AppLog & alert(AppLog &sl)
Manipulator for alert level.
Definition: applog.h:557
Slog & emerg(void)
Definition: slog.h:278
Slog & alert(void)
Definition: slog.h:281
Slog & info(void)
Definition: slog.h:290
void level(Level enable)
Sets the logging level.
Definition: slog.h:258
Slog & notice(void)
Definition: slog.h:287
#define __EXPORT
Definition: config.h:980
Level
Definition: slog.h:123
substitute functions which may be missing in target platform libc.
__EXPORT AppLog & warn(AppLog &sl)
Manipulator for warn level.
Definition: applog.h:533
Slog & warn(void)
Definition: slog.h:269
Synchronization and threading services.
Class
Definition: slog.h:107
The slog class is used to stream messages to the system's logging facility (syslogd).
Definition: slog.h:104
Slog & critical(void)
Definition: slog.h:284
__EXPORT AppLog & notice(AppLog &sl)
Manipulator for notice level.
Definition: applog.h:573
__EXPORT AppLog & critical(AppLog &sl)
Manipulator for critical level.
Definition: applog.h:565
The Mutex class is used to protect a section of code so that at any given time only a single thread c...
Definition: thread.h:186
__EXPORT AppLog & info(AppLog &sl)
Manipulator for info level.
Definition: applog.h:581
void clogEnable(bool f=true)
Enables or disables the echoing of the messages to clog in addition to the syslog daemon...
Definition: slog.h:266
Slog & error(void)
Definition: slog.h:272
Slog & debug(void)
Definition: slog.h:275
__EXPORT AppLog & debug(AppLog &sl)
Manipulator for debug level.
Definition: applog.h:525
__EXPORT AppLog & emerg(AppLog &sl)
Manipulator for emerg level.
Definition: applog.h:549
__EXPORT AppLog & error(AppLog &sl)
Manipulator for error level.
Definition: applog.h:541