qxLib
include
qx
logger
debugger_logger_stream.h
Go to the documentation of this file.
1
/**
2
3
@file debugger_logger_stream.h
4
@author Khrapov
5
@date 12.11.2023
6
@copyright © Nick Khrapov, 2023. All right reserved.
7
8
**/
9
#pragma once
10
11
#include <
qx/logger/base_logger_stream.h
>
12
#include <
qx/logger/terminal_color.h
>
13
14
#if QX_WIN
15
#include "debugapi.h"
16
#endif
17
18
namespace
qx
19
{
20
21
/**
22
23
@class debugger_logger_stream
24
@brief Logger stream for a debugger output (VS: output window)
25
@details ~
26
@author Khrapov
27
@date 12.11.2023
28
29
**/
30
class
debugger_logger_stream
:
public
base_logger_stream
31
{
32
public
:
33
/**
34
@brief debugger_logger_stream object constructor
35
**/
36
debugger_logger_stream
();
37
38
private
:
39
// base_logger_stream
40
//
41
void
flush()
override
;
42
void
do_log(
43
string_view svMessage,
44
const
log_unit
& logUnit,
45
const
std::vector<logger_color_range>& colors,
46
verbosity eVerbosity)
override
;
47
};
48
49
}
// namespace qx
50
51
#include <
qx/logger/debugger_logger_stream.inl
>
base_logger_stream.h
qx::base_logger_stream
Base class for logger streams.
Definition:
base_logger_stream.h:78
qx::debugger_logger_stream
Logger stream for a debugger output (VS: output window)
Definition:
debugger_logger_stream.h:31
qx::debugger_logger_stream::debugger_logger_stream
debugger_logger_stream()
debugger_logger_stream object constructor
Definition:
debugger_logger_stream.inl:13
debugger_logger_stream.inl
qx::log_unit
Definition:
base_logger_stream.h:63
terminal_color.h
Generated by
1.9.1