|
Public 型 |
enum | {
CONS = LOG_CONS,
NDELAY = LOG_NDELAY,
NOWAIT = LOG_NOWAIT,
ODELAY = LOG_ODELAY,
PERORR = LOG_PERROR,
PID = LOG_PID
} |
| theOptionにはORしたものをあたえる [詳細]
|
enum | {
AUTH = LOG_AUTH,
AUTHPRIV = LOG_AUTHPRIV,
CRON = LOG_CRON,
DAEMON = LOG_DAEMON,
FTP = LOG_FTP,
KERN = LOG_KERN,
LOCAL0 = LOG_LOCAL0,
LOCAL1 = LOG_LOCAL1,
LOCAL2 = LOG_LOCAL2,
LOCAL3 = LOG_LOCAL3,
LOCAL4 = LOG_LOCAL4,
LOCAL5 = LOG_LOCAL5,
LOCAL6 = LOG_LOCAL6,
LOCAL7 = LOG_LOCAL7,
LPR = LOG_LPR,
MAIL = LOG_MAIL,
NEWS = LOG_NEWS,
SYSLOG = LOG_SYSLOG,
USER = LOG_USER,
UUCP = LOG_UUCP
} |
| ファシリティ,出力先と考えてよい [詳細]
|
enum | {
EMERG = LOG_EMERG,
ALERT = LOG_ALERT,
CRIT = LOG_CRIT,
ERROR = LOG_ERR,
WARNING = LOG_WARNING,
NOTICE = LOG_NOTICE,
INFO = LOG_INFO,
DEBUG = LOG_DEBUG
} |
| レベル (プライオリティはファシリティとの組み合わせ) [詳細]
|
Public メソッド |
| TSystemLogging (Tint level=INFO, Tint facility=USER, Tint option=PID|ODELAY) |
| TSystemLogging (const TSystemLogging &right) |
| ~TSystemLogging () |
Tvoid | Open (Tint option, Tint facility) |
Tvoid | Open (Tint option) |
Tvoid | Open () |
Tvoid | Close () |
Tvoid | Record (Tint level, const Tstring &format,...) |
Tvoid | Record (const Tstring &format,...) |
Tvoid | Record (Tint level, const Tstring &format, va_list ap) |
Tvoid | Record (const Tstring &format, va_list ap) |
Tint | GetLevel () const |
Tint | GetFacility () const |
Tint | GetOption () const |
const Tstring & | GetID () const |
const Tstring & | GetMessageBuffer () const |
Tvoid | SetLevel (Tint level) |
Tvoid | SetFacility (Tint facility) |
Tvoid | SetOption (Tint option) |
Tvoid | SetID (const Tstring &ident) |
Tvoid | SetID () |
Tvoid | SetMessageBuffer (const Tstring &buffer) |
Tvoid | AddBuffer (const Tstring &message) |
Tvoid | ClearBuffer () |
const TSystemLogging & | operator= (const TSystemLogging &right) |
TSystemLogging & | operator<< (Tostream &(*pf)(Tostream &)) |
TSystemLogging & | operator<< (Tostream &os) |
TSystemLogging & | operator<< (const Tstring &message) |
TSystemLogging & | operator<< (Tdouble n) |
TSystemLogging & | operator<< (Tdouble *n) |
TSystemLogging & | operator<< (Tfloat n) |
TSystemLogging & | operator<< (Tfloat *n) |
TSystemLogging & | operator<< (Tint n) |
TSystemLogging & | operator<< (Tint *n) |
TSystemLogging & | operator<< (TUint n) |
TSystemLogging & | operator<< (TUint *n) |
TSystemLogging & | operator<< (Tshort n) |
TSystemLogging & | operator<< (Tshort *n) |
TSystemLogging & | operator<< (TUshort n) |
TSystemLogging & | operator<< (TUshort *n) |
TSystemLogging & | operator<< (Tlong n) |
TSystemLogging & | operator<< (Tlong *n) |
TSystemLogging & | operator<< (TUlong n) |
TSystemLogging & | operator<< (TUlong *n) |
TSystemLogging & | operator<< (Tchar n) |
TSystemLogging & | operator<< (TUchar n) |