47 return decode(facility) | decode(severity) ;
55 ::syslog( mode(m_facility,severity) ,
"%s" , message.c_str() ) ;
57 std_err << message << std::endl ;
60 void G::LogOutput::init()
63 ::openlog( NULL , LOG_PID , decode(m_facility) ) ;
66 void G::LogOutput::cleanup()
72 void G::LogOutput::getLocalTime( time_t epoch_time ,
struct std::tm * broken_down_time_p )
74 localtime_r( &epoch_time , broken_down_time_p ) ;
virtual void rawOutput(std::ostream &, G::Log::Severity, const std::string &)
Overridable.