notcurses/include/ncpp/NCLogLevel.hh
Nick Black e6637e81cc
Prep for serious rusting #101 (#354)
* CMake: add USE_PANDOC, USE_DOXYGEN options #101
* README: mention rust
* start integrating rust into build #101
* CMake: add USE_NETWORK option for cargo
* Debian: build-dep on doxygen
* rust: colloquy checks in Cargo.lock
* extract NCKEY defines into their own include
* colloquy: use clap to parse CLI args
* CMake: unify option namespace
* Python: update include path
* Rust: fix up --frozen workings for -DUSE_NETWORK=off
* CMake: abstract out colloquy a little
* Sync direct.hh to the New Way
2020-02-18 12:36:16 -05:00

22 lines
675 B
C++

#ifndef __NCPP_NCLOGLEVEL_HH
#define __NCPP_NCLOGLEVEL_HH
#include <notcurses/notcurses.h>
namespace ncpp
{
struct NCLogLevel
{
static constexpr ncloglevel_e Silent = NCLOGLEVEL_SILENT;
static constexpr ncloglevel_e Panic = NCLOGLEVEL_PANIC;
static constexpr ncloglevel_e Fatal = NCLOGLEVEL_FATAL;
static constexpr ncloglevel_e Error = NCLOGLEVEL_ERROR;
static constexpr ncloglevel_e Warning = NCLOGLEVEL_WARNING;
static constexpr ncloglevel_e Info = NCLOGLEVEL_INFO;
static constexpr ncloglevel_e Verbose = NCLOGLEVEL_VERBOSE;
static constexpr ncloglevel_e Debug = NCLOGLEVEL_DEBUG;
static constexpr ncloglevel_e Trace = NCLOGLEVEL_TRACE;
};
}
#endif