mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-22 01:44:49 -05:00
21 lines
423 B
C++
21 lines
423 B
C++
#include "log-helper.hpp"
|
|
#include "switcher-data.hpp"
|
|
|
|
namespace advss {
|
|
|
|
bool VerboseLoggingEnabled()
|
|
{
|
|
return GetSwitcher() &&
|
|
GetSwitcher()->logLevel == SwitcherData::LogLevel::VERBOSE;
|
|
}
|
|
|
|
bool ActionLoggingEnabled()
|
|
{
|
|
return GetSwitcher() &&
|
|
(GetSwitcher()->logLevel ==
|
|
SwitcherData::LogLevel::PRINT_ACTION ||
|
|
GetSwitcher()->logLevel == SwitcherData::LogLevel::VERBOSE);
|
|
}
|
|
|
|
} // namespace advss
|