|
FlatImage
A configurable Linux containerization system
|
Error-level logger (recoverable errors) More...
#include <log.hpp>
Public Member Functions | |
| error (Location location=Location()) | |
| Constructs an error logger. | |
Public Member Functions inherited from ns_log::Writer | |
| Writer (Location const &location, Level const &level, std::string prefix, std::ostream &ostream) | |
| Constructs a Writer with location and level information. | |
| template<ns_concept::StringRepresentable T, typename... Args> requires ( ( ns_concept::StringRepresentable<Args> or ns_concept::Iterable<Args> ) and ... ) | |
| void | operator() (T &&format, Args &&... args) |
| Writes a formatted log message. | |
Error-level logger (recoverable errors)
Outputs to console when logger level is ERROR or higher. Always writes to sink file if configured. Uses stderr.