ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
All Classes Namespaces Functions Variables Typedefs Enumerations Concepts
BMBFLogger.hpp
1#pragma once
2#if CP_SDK_BMBF
3#include "ILogger.hpp"
4
5#include <beatsaber-hook/shared/utils/logging.hpp>
6
7namespace CP_SDK::Logging {
8
10 class BMBFLogger : public ILogger
11 {
12 public:
15 BMBFLogger(Logger* p_BMBFLogger);
16
18 Logger* GetBMBFLogger() const { return m_BMBFLogger; }
19
20 protected:
24 void LogImplementation(ELogType p_Type, std::u16string_view p_Data) override;
28 void LogImplementation(ELogType p_Type, const std::exception& p_Data) override;
29
30 private:
31 Logger* m_BMBFLogger;
32
33 };
34
35}
36#endif
Logger * GetBMBFLogger() const
Get BMBF Logger.
BMBFLogger(Logger *p_BMBFLogger)
Constructor.
void LogImplementation(ELogType p_Type, const std::exception &p_Data) override
Log implementation.
void LogImplementation(ELogType p_Type, std::u16string_view p_Data) override
Log implementation.
Logging utilities.
Definition BMBFLogger.hpp:7