PXL
log_types.hpp
Go to the documentation of this file.
1 // SPDX-License-Identifier: Apache-2.0
2 // Copyright 2026 XCENA Inc.
3 
4 #pragma once
5 
6 // The logging vocabulary: log types, levels, detail and output targets.
7 // Included by pxl/config.hpp.
8 namespace pxl
9 {
10 
11 enum class LogType
12 {
13  Resource,
14  Execution,
15  Internal,
16  All,
17  NumLogType = All
18 };
19 
20 enum class LogLevel
21 {
22  Error,
23  Info,
24  Debug,
25 };
26 
27 enum class LogDetail
28 {
29  None,
30  TimeStamp,
32  All,
33 };
34 
35 enum class LogOutput
36 {
37  Stdout,
38  Stderr,
39  File,
40 };
41 
42 } // namespace pxl
Definition: config.hpp:13
LogDetail
Definition: log_types.hpp:28
LogType
Definition: log_types.hpp:12
LogLevel
Definition: log_types.hpp:21
LogOutput
Definition: log_types.hpp:36