qxLib
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 
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 **/
31 {
32 public:
33  /**
34  @brief debugger_logger_stream object constructor
35  **/
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 
Base class for logger streams.
Logger stream for a debugger output (VS: output window)
debugger_logger_stream()
debugger_logger_stream object constructor