#ifndef ERRLOG
#define ERRLOG


class AlarmManager;

/*---------------------------------------------------------------------
CLASS
	ErrorLog

DESCRIPTION
	ErrorLog contains static functions to log data to a file.
	All messages are logged to the AlarmManager log file.

AUTHOR
	D.Cline.
---------------------------------------------------------------------*/

class ErrorLog
{
public:
	// Constructor. Initializes AlarmManger Singleton pointer
	ErrorLog();

	~ErrorLog();

	// Log message as an application message, not an error
	static void logMsg(const char *msg);

	// Log message as an error
	static void logError(const char *msg);

private:
	
	static AlarmManager *_pAM;
};
#endif
