std::ostream & operator<<(std::ostream &out, const component &comp)
Write component record to output stream.
Definition: component.cc:190
~log_entry()
Destroy entry freeing memory.
Definition: log.cc:184
log_entry()
Construct uninitialised log entry.
Definition: log.cc:172
std::string when_text() const
Time of log entry as text.
Definition: log.cc:210
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:271
log_entry & operator=(const log_entry &other)
Assignment.
Definition: log.cc:190
int when() const
Time since midnight of log entry.
Definition: log.h:206
std::string text() const
Description of this log entry.
Definition: log.cc:225
A class to represent one log entry.
Definition: log.h:141