Livox SDK API  V2.2.0
spdlog::level Namespace Reference

Typedefs

using level_hasher = std::hash< int >
 

Enumerations

enum  level_enum {
  trace = 0, debug = 1, info = 2, warn = 3,
  err = 4, critical = 5, off = 6
}
 

Functions

string_view_tto_string_view (spdlog::level::level_enum l) noexcept
 
const char * to_short_c_str (spdlog::level::level_enum l) noexcept
 
spdlog::level::level_enum from_str (const std::string &name) noexcept
 

Variables

static string_view_t level_string_views [] { "trace", "debug", "info", "warning", "error", "critical", "off" }
 
static const char * short_level_names [] {"T", "D", "I", "W", "E", "C", "O"}
 

Typedef Documentation

using spdlog::level::level_hasher = typedef std::hash<int>

Definition at line 159 of file common.h.

Enumeration Type Documentation

Enumerator
trace 
debug 
info 
warn 
err 
critical 
off 

Definition at line 111 of file common.h.

Function Documentation

spdlog::level::level_enum spdlog::level::from_str ( const std::string &  name)
inlinenoexcept

Definition at line 145 of file common.h.

const char* spdlog::level::to_short_c_str ( spdlog::level::level_enum  l)
inlinenoexcept

Definition at line 140 of file common.h.

string_view_t& spdlog::level::to_string_view ( spdlog::level::level_enum  l)
inlinenoexcept

Definition at line 135 of file common.h.

Variable Documentation

string_view_t spdlog::level::level_string_views[] { "trace", "debug", "info", "warning", "error", "critical", "off" }
static

Definition at line 128 of file common.h.

const char* spdlog::level::short_level_names[] {"T", "D", "I", "W", "E", "C", "O"}
static

Definition at line 133 of file common.h.