Data Structures | |
class | at_job |
class | at_service |
class | endpoint |
class | endpoint_client |
class | endpoint_client_stdout |
class | endpoint_functor |
class | endpoint_listener |
class | logging |
class | logging_file |
class | logging_null |
class | logging_stderr |
class | logging_syslog |
class | logging_tee |
class | reactor |
class | time_value |
Functions | |
logging & | log () |
logging& plumbing::log | ( | ) | [inline] |
The plumbing::log() function is used to make it possible to simply say
plumbing::log().fatal_error("croak")
to issue error messages. If you need errno translated, use libexplain to do it, and send it through fatal_error(). For example
fd = open(filename, flags); if (fd < 0) plumbing::log().fatal_error("%s", libexplain_open(filename, flags));