File tree Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Original file line number Diff line number Diff line change 1
- #ifndef _NBL_SYSTEM_C_COLORFUL_STDOUT_LOGGER_ANSI_INCLUDED_
2
- #define _NBL_SYSTEM_C_COLORFUL_STDOUT_LOGGER_ANSI_INCLUDED_
1
+ #ifndef _NBL_SYSTEM_C_COLORED_STDOUT_LOGGER_ANSI_INCLUDED_
2
+ #define _NBL_SYSTEM_C_COLORED_STDOUT_LOGGER_ANSI_INCLUDED_
3
3
4
4
#include " nbl/system/IThreadsafeLogger.h"
5
5
6
6
#include < string_view>
7
7
8
- namespace nbl ::system {
9
-
10
- #include " nbl/system/DefaultFuncPtrLoader.h"
8
+ namespace nbl ::system
9
+ {
11
10
12
11
// logging using ANSI escape codes
13
- class NBL_API CColoredStdoutLoggerANSI : public IThreadsafeLogger {
14
-
15
- public:
16
- CColoredStdoutLoggerANSI (
17
- core::bitflag<E_LOG_LEVEL> logLevelMask = ILogger::defaultLogMask())
18
- : IThreadsafeLogger(logLevelMask) {}
12
+ class NBL_API2 CColoredStdoutLoggerANSI : public IThreadsafeLogger
13
+ {
14
+ public:
15
+ CColoredStdoutLoggerANSI (core::bitflag<E_LOG_LEVEL> logLevelMask = ILogger::defaultLogMask()) : IThreadsafeLogger(logLevelMask) {}
19
16
20
- private:
21
- virtual void threadsafeLog_impl (const std::string_view &fmt,
22
- E_LOG_LEVEL logLevel, va_list args) override ;
17
+ private:
18
+ virtual void threadsafeLog_impl (const std::string_view &fmt, E_LOG_LEVEL logLevel, va_list args) override ;
23
19
};
24
20
25
21
} // namespace nbl::system
26
22
27
- #endif
23
+ #endif
You can’t perform that action at this time.
0 commit comments