Commit af5eb9d3 authored by Dominik Charousset's avatar Dominik Charousset

Fix signature of logger::accepts

parent d119c85e
......@@ -227,7 +227,7 @@ public:
/// Returns whether the logger is configured to accept input for given
/// component and log level.
bool accepts(int level, string_view component_name);
bool accepts(unsigned level, string_view component_name);
/// Returns the output format used for the log file.
const line_format& file_format() const {
......
......@@ -351,7 +351,7 @@ logger* logger::current_logger() {
return get_current_logger();
}
bool logger::accepts(int level, string_view cname) {
bool logger::accepts(unsigned level, string_view cname) {
if (level > cfg_.verbosity)
return false;
if (!component_filter.empty()) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment