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
,
31
CodeLocation
,
32
All
,
33
};
34
35
enum class
LogOutput
36
{
37
Stdout
,
38
Stderr
,
39
File
,
40
};
41
42
}
// namespace pxl
pxl
Definition:
config.hpp:13
pxl::LogDetail
LogDetail
Definition:
log_types.hpp:28
pxl::LogDetail::TimeStamp
@ TimeStamp
pxl::LogDetail::None
@ None
pxl::LogDetail::All
@ All
pxl::LogDetail::CodeLocation
@ CodeLocation
pxl::LogType
LogType
Definition:
log_types.hpp:12
pxl::LogType::Execution
@ Execution
pxl::LogType::Internal
@ Internal
pxl::LogType::All
@ All
pxl::LogType::Resource
@ Resource
pxl::LogType::NumLogType
@ NumLogType
pxl::LogLevel
LogLevel
Definition:
log_types.hpp:21
pxl::LogLevel::Info
@ Info
pxl::LogLevel::Error
@ Error
pxl::LogLevel::Debug
@ Debug
pxl::LogOutput
LogOutput
Definition:
log_types.hpp:36
pxl::LogOutput::File
@ File
pxl::LogOutput::Stdout
@ Stdout
pxl::LogOutput::Stderr
@ Stderr
include
pxl
log_types.hpp
Generated by
1.9.1