The Sparta Modeling Framework
Loading...
Searching...
No Matches
CategoryManager.hpp
1// <CategoryManager> -*- C++ -*-
2
3#pragma once
4
5#include <string>
6
7#include "sparta/utils/StringManager.hpp"
8
9namespace sparta
10{
11 namespace log
12 {
14 {
15 public:
16
17 static constexpr char WARN_STR[] = "warning";
18 static constexpr char DEBUG_STR[] = "debug";
19 static constexpr char PARAMETERS_STR[] = "parameters";
20
21 // Builtin Categories
22 static const std::string* const WARN;
23 static const std::string* const DEBUG;
24 static const std::string* const PARAMETERS;
25 static const std::string* const NONE;
26
27 }; // class categories
28 } // namespace log
29} // namespace sparta
30
static const std::string *const WARN
Indicates a WARNING.
static const std::string *const PARAMETERS
Indicates PARAMETER setup logs.
static const std::string *const NONE
Indicates NO category (or for observing, ANY category)
static const std::string *const DEBUG
Indicates a DEBUG.
Macros for handling exponential backoff.