blob: d3f5b0527c1dc6b72de19e859726de60e2c2b73b [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
6namespace velia {
7
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}