void SyslogCheckpointer_RestoreService() { if (_isSuspended) { _isSuspended = false; JASSERT(_option >= 0 && _facility >= 0) (_option) (_facility); openlog((_identIsNotNULL ? _ident().c_str() : NULL), _option, _facility); } }
extern "C" void openlog ( const char *ident, int option, int facility ) { JASSERT ( !_isSuspended ); JTRACE ( "openlog" ) ( ident ); _real_openlog ( ident, option, facility ); _syslogEnabled = true; _identIsNotNULL = (ident != NULL); if (ident != NULL) { _ident() = ident; } _option = option; _facility = facility; }