memgraph/include/logging/levels.hpp
2016-08-10 09:39:02 +01:00

34 lines
479 B
C++

#pragma once
#include <string>
struct Trace
{
static std::string text;
static constexpr unsigned level = 0;
};
struct Debug
{
static std::string text;
static constexpr unsigned level = 10;
};
struct Info
{
static std::string text;
static constexpr unsigned level = 20;
};
struct Warn
{
static std::string text;
static constexpr unsigned level = 30;
};
struct Error
{
static std::string text;
static constexpr unsigned level = 40;
};