libimgdoc2
Loading...
Searching...
No Matches
loglevel.h
1// SPDX-FileCopyrightText: 2023 Carl Zeiss Microscopy GmbH
2//
3// SPDX-License-Identifier: MIT
4
5#pragma once
6
7namespace imgdoc2
8{
11 {
12 public:
13 static constexpr int Fatal = 0;
14 static constexpr int Error = 1;
15 static constexpr int Warn = 2;
16 static constexpr int Info = 3;
17 static constexpr int Trace = 4;
18 static constexpr int Debug = 5;
19
20 static constexpr int Sql = 32;
21 };
22}
The log levels are defined here (see also the IHostingEnvironment interface).
Definition: loglevel.h:11
static constexpr int Sql
This level will log all SQL-statement sent to the database.
Definition: loglevel.h:20