class MAGES::Analytics::AnalyticsLogger¶
Overview¶
The class that is used for logging analytics. More…
class AnalyticsLogger
{
public:
// properties
bool Enable;
// methods
static void Initialize(bool enabled, bool fileSave);
static void ShutDown();
static void Trace(string message);
static void Info(string message);
static void Error(string message);
};
Detailed Documentation¶
The class that is used for logging analytics.
Properties¶
bool Enable
Gets or sets a value indicating whether the logger is enabled.
Methods¶
static void Initialize(bool enabled, bool fileSave)
Initializes the logger.
Parameters:
enabled |
A values indicating if the logger will be enabled. |
fileSave |
A value indicating if the logger will output to the console or to a file. |
static void ShutDown()
Shuts down the logger.
static void Trace(string message)
Log a trace message.
Parameters:
message |
The log message. |
static void Info(string message)
Log an info message.
Parameters:
message |
The log message. |
static void Error(string message)
Log an error message.
Parameters:
message |
The log message. |