9 void log_status(
const char * line) {log_entry(line, severity_status);}
10 void log_warning(
const char * line) {log_entry(line, severity_warning);}
11 void log_error(
const char * line) {log_entry(line, severity_error);}
13 virtual void log_entry(
const char * line,
unsigned severity) = 0;
24 virtual void playback( event_logger::ptr playTo ) = 0;
30 for(
auto i = m_entries.first(); i.is_valid(); ++i ) {
31 playTo->log_entry( i->line.get_ptr(), i->severity );
35 void log_entry(
const char * line,
unsigned severity ) {
36 auto rec = m_entries.insert_last();
38 rec->severity = severity;
void log_entry(const char *line, unsigned)
void playback(event_logger::ptr playTo)
pfc::chain_list_v2_t< entry_t > m_entries
Differences between chain_list_v2_t<> and old chain_list_t<>: Iterators pointing to removed items as...
void log_warning(const char *line)
void log_error(const char *line)
string_simple_t< char > string_simple
void log_entry(const char *line, unsigned severity)
void log_status(const char *line)
Base class for all service classes. Provides interfaces for reference counter and querying for differ...