Minor formatting

This commit is contained in:
Alexey Rybalchenko
2020-07-09 10:43:14 +02:00
parent 2b37d0147e
commit 1f3b2a2c82
2 changed files with 15 additions and 15 deletions

View File

@@ -41,7 +41,7 @@
#include <sstream>
#include <string>
#include <time.h> // time_t
#include <type_traits>
#include <type_traits> // is_same
#include <unordered_map>
#include <utility> // pair
@@ -83,26 +83,26 @@ enum class Severity : int
// verylow: message
// low: [severity] message
// medium: [HH:MM:SS][severity] message
// high: [process name][HH:MM:SS][severity] message
// veryhigh: [process name][HH:MM:SS:µS][severity][file:line:function] message
// high: [process_name][HH:MM:SS][severity] message
// veryhigh: [process_name][HH:MM:SS:µS][severity][file:line:function] message
enum class Verbosity : int
{
verylow,
verylow = 0,
low,
medium,
high,
veryhigh,
// backwards-compatibility:
VERYLOW = verylow,
LOW = low,
MEDIUM = medium,
HIGH = high,
VERYHIGH = veryhigh,
// extra slots for user-defined verbosities:
user1,
user2,
user3,
user4,
// backwards-compatibility:
VERYLOW = verylow,
LOW = low,
MEDIUM = medium,
HIGH = high,
VERYHIGH = veryhigh
};
struct VerbositySpec
@@ -110,7 +110,7 @@ struct VerbositySpec
enum class Info : int
{
__empty__ = 0, // used to initialize order array
process_name, // [process name]
process_name, // [process_name]
timestamp_s, // [HH:MM:SS]
timestamp_us, // [HH:MM:SS:µS]
severity, // [severity]