std::ostream & operator<<(std::ostream &out, const component &comp)
Write component record to output stream.
Definition: component.cc:179
~log_entry()
Destroy entry freeing memory.
Definition: log.cc:171
log_entry()
Construct uninitialised log entry.
Definition: log.cc:159
std::string when_text() const
Time of log entry as text.
Definition: log.cc:197
void message(LogCode code, const std::string ¶m1, const std::string ¶m2)
Add a new entry to the log from two standard strings.
Definition: log.h:258
log_entry & operator=(const log_entry &other)
Assignment.
Definition: log.cc:177
int when() const
Time since midnight of log entry.
Definition: log.h:193
std::string text() const
Description of this log entry.
Definition: log.cc:212
A class to represent one log entry.
Definition: log.h:128