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);
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 & debug(AppLog &sl)
Manipulator for debug level.
__EXPORT AppLog & error(AppLog &sl)
Manipulator for error level.
void clogEnable(bool f=true)
Enables or disables the echoing of the messages to clog in addition to the syslog daemon...
__EXPORT AppLog & info(AppLog &sl)
Manipulator for info level.
substitute functions which may be missing in target platform libc.
The Mutex class is used to protect a section of code so that at any given time only a single thread c...
Synchronization and threading services.
__EXPORT AppLog & emerg(AppLog &sl)
Manipulator for emerg level.
__EXPORT AppLog & notice(AppLog &sl)
Manipulator for notice level.
__EXPORT AppLog & alert(AppLog &sl)
Manipulator for alert level.
void level(Level enable)
Sets the logging level.
The slog class is used to stream messages to the system's logging facility (syslogd).
__EXPORT AppLog & warn(AppLog &sl)
Manipulator for warn level.
__EXPORT AppLog & critical(AppLog &sl)
Manipulator for critical level.