10# if !defined (HPP_ALIB_ALOX)
14# if !defined (HPP_ALOX_VSTUDIO_LOGGER)
18# if !defined (HPP_ALIB_ALOX_REPORT_WRITER)
22# if !defined (HPP_ALIB_ALOXMODULE)
26# if defined(_WIN32) && ALIB_DEBUG && !defined (HPP_ALIB_LANG_BASECAMP)
31namespace alib {
namespace lox {
33using namespace detail;
52 static bool recursion=
false;
60 ALIB_WARNING(
"ALOX",
"Log::AddDebugLogger(): called twice." )
67 #if defined(_MSC_VER) && ALIB_DEBUG
102 "Log::RemoveDebugLogger(): no debug logger to remove." )
112 #if defined(_WIN32) && ALIB_DEBUG
131 "Log::AddReportWriter(): ALoxReportWriter already created." )
ALIB_API Priorities Load(Variable &variable)
ALIB_API bool IsTrue(int idx=0)
config::Configuration & GetConfig()
ALIB_API void PushWriter(ReportWriter *newWriter)
ALIB_API void PopWriter(ReportWriter *checkWriter)
static Report & GetDefault()
ALIB_API bool IsDebuggerPresent()
static ALIB_API void AddDebugLogger(Lox *lox)
static ALIB_API ALoxReportWriter * DebugReportWriter
static ALIB_API void RemoveDebugLogger(Lox *lox)
static ALIB_API detail::textlogger::TextLogger * DebugLogger
static ALIB_API detail::textlogger::TextLogger * IDELogger
static ALIB_API void RemoveALibReportWriter()
static ALIB_API void AddALibReportWriter(Lox *lox)
bool RemoveLogger(detail::Logger *logger)
static ALIB_API detail::textlogger::TextLogger * CreateConsoleLogger(const NString &name=nullptr)
static constexpr NString InternalDomains
void SetVerbosity(detail::Logger *logger, Verbosity verbosity, const NString &domain="/", Priorities priority=Priorities::DefaultValues)
static TDerivedClass & GetSingleton()
#define ALIB_WARNING(...)
#define ALIB_ASSERT_WARNING(cond,...)
lox::ALoxReportWriter ALoxReportWriter
Type alias in namespace alib.
lang::basecamp::BaseCamp BASECAMP
lox::detail::textlogger::TextLogger TextLogger
Type alias in namespace alib.
lox::loggers::VStudioLogger VStudioLogger
Type alias in namespace alib.