Interface for objects that can report errors. More...
#include <errorable.hpp>
Public Member Functions | |
| virtual void | log () const =0 |
| Log error message. | |
| void | dbgLog () const |
| Log error in debug mode only. | |
| virtual void | logStack () const =0 |
| Log error with stack trace. | |
| virtual const std::string & | getMsg () const =0 |
| virtual errLv::level | getLv () const =0 |
| const std::string & | getLevelName () const |
| Get human-readable error level name. | |
Public Member Functions inherited from by::dumpable | |
| virtual void | dump () const =0 |
| Dump object state for debugging. | |
Interface for objects that can report errors.
Provides methods for logging errors with different severity levels and stack trace information. Extends dumpable interface.