Go to the documentation of this file.
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
@ classLocal0
Definition: slog.h:113
@ classUser
Definition: slog.h:111
@ classLocal5
Definition: slog.h:118
Slog & info(void)
Definition: slog.h:290
__EXPORT AppLog & debug(AppLog &sl)
Manipulator for debug level.
Definition: applog.h:525
@ levelInfo
Definition: slog.h:130
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
@ classLocal3
Definition: slog.h:116
__EXPORT AppLog & error(AppLog &sl)
Manipulator for error level.
Definition: applog.h:541
__EXPORT AppLog & warn(AppLog &sl)
Manipulator for warn level.
Definition: applog.h:533
@ classLocal1
Definition: slog.h:114
void level(Level enable)
Sets the logging level.
Definition: slog.h:258
Level
Definition: slog.h:123
__EXPORT AppLog & info(AppLog &sl)
Manipulator for info level.
Definition: applog.h:581
@ classDaemon
Definition: slog.h:110
@ levelAlert
Definition: slog.h:125
@ levelNotice
Definition: slog.h:129
#define __EXPORT
Definition: config.h:979
@ classLocal4
Definition: slog.h:117
Slog & debug(void)
Definition: slog.h:275
@ levelCritical
Definition: slog.h:126
__EXPORT AppLog & notice(AppLog &sl)
Manipulator for notice level.
Definition: applog.h:573
@ classDefault
Definition: slog.h:112
Slog & notice(void)
Definition: slog.h:287
@ classLocal6
Definition: slog.h:119
Slog & warn(void)
Definition: slog.h:269
@ classAudit
Definition: slog.h:109
@ levelEmergency
Definition: slog.h:124
__EXPORT AppLog & emerg(AppLog &sl)
Manipulator for emerg level.
Definition: applog.h:549
substitute functions which may be missing in target platform libc.
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
__EXPORT AppLog & critical(AppLog &sl)
Manipulator for critical level.
Definition: applog.h:565
@ levelWarning
Definition: slog.h:128
Class
Definition: slog.h:107
@ levelDebug
Definition: slog.h:131
Slog & critical(void)
Definition: slog.h:284
@ classSecurity
Definition: slog.h:108
@ levelError
Definition: slog.h:127
@ classLocal2
Definition: slog.h:115
Slog & emerg(void)
Definition: slog.h:278
__EXPORT AppLog & alert(AppLog &sl)
Manipulator for alert level.
Definition: applog.h:557
Synchronization and threading services.
The slog class is used to stream messages to the system's logging facility (syslogd).
Definition: slog.h:104
Slog & alert(void)
Definition: slog.h:281