blob: 0c78e5cb654f17d7601c2d1c41c2f71e2a68a52e [file] [log] [blame]
#pragma once
#include <cstdint>
#include <ostream>
#include <spdlog/fmt/ostr.h> // allow spdlog to use operator<<(ostream, State) to print State
namespace velia::health {
enum class State {
OK,
WARNING,
ERROR,
// keep sorted by severity ascending (good ---> bad)
};
std::ostream& operator<<(std::ostream& os, State state);
}