#include #include "LoggerT.h" using namespace std; void TellAboutLogging(); int main() { TellAboutLogging(); LoggerT::EnableLogging(true); TellAboutLogging(); LoggerT::Log("This is a message"); LoggerT::Log("This is a second message"); return 0; } void TellAboutLogging(){ if (LoggerT::IsLoggingEnabled()) { cout << "Yipee I can log" << endl; } else { cout << " I can not log" << endl; } }