Base class for software logs.
Such logs are used to log software status, warnings, and errors. Does not have defaultLevel, so this can not be used as a log type in logger.
The message parameters are:
- file which should be the __FILE__ macro
- line which should be the __LINE__ macro
- code_errno which should be the errno value, or 0 if not relevant
- code_other which should a non-errno code if relevant, 0 otherwise.
- expl which is an explanation of the error. Can be empty.
software_log::messageT constructors are provided with combinations of the parameters. Some examples:
log<software_error>({__FILE__, __LINE__, errno, retval, "an error occurred"});
log<software_error>({__FILE__, __LINE__, errno);
log<software_info>({__FILE__, __LINE__, "a directory was created"});
log<software_debug>({__FILE__, __LINE__});
Definition at line 29 of file software_log.hpp.