|
vg
tools for working with variation graphs
|
#include <log.hpp>
Public Member Functions | |
| Logger (const std::string &context) | |
| cerrWrapper | info () const |
| Log to cerr with a standard format. More... | |
| cerrWrapper | warn () const |
| Emit a warning with a standard format. More... | |
| cerrWrapper | error () const |
Private Attributes | |
| std::string | context |
Class to set up at the start of a file when you want to generate a bunch of loggers
|
inline |
|
inline |
Error AND EXIT with a standard format Once the cerrWrapper goes out of scope, the program will exit with an error code.
|
inline |
Log to cerr with a standard format.
|
inline |
Emit a warning with a standard format.
|
private |
1.8.17