blob: 0c78e5cb654f17d7601c2d1c41c2f71e2a68a52e [file] [log] [blame]
Tomáš Pecka74b885f2020-06-06 20:02:41 +02001#pragma once
2#include <cstdint>
3#include <ostream>
4#include <spdlog/fmt/ostr.h> // allow spdlog to use operator<<(ostream, State) to print State
5
Tomáš Pecka261c8862020-11-05 11:23:08 +01006namespace velia::health {
Tomáš Pecka74b885f2020-06-06 20:02:41 +02007
8enum class State {
9 OK,
10 WARNING,
11 ERROR,
12 // keep sorted by severity ascending (good ---> bad)
13};
14
15std::ostream& operator<<(std::ostream& os, State state);
16
17}