vg
tools for working with variation graphs
Functions
vg::logging Namespace Reference

Functions

cerrWrapper info (const std::string &context)
 
cerrWrapper warn (const std::string &context)
 
cerrWrapper error (const std::string &context)
 

Function Documentation

◆ error()

cerrWrapper vg::logging::error ( const std::string &  context)

Error AND EXIT with a standard format Once the cerrWrapper goes out of scope, the program will exit with an error code. "context" is caller context, e.g. "vg inject"

◆ info()

cerrWrapper vg::logging::info ( const std::string &  context)

Log to cerr with a standard format "context" is caller context, e.g. "vg inject"

◆ warn()

cerrWrapper vg::logging::warn ( const std::string &  context)

Emit a warning with a standard format "context" is caller context, e.g. "vg inject"