/// <summary>
        /// LogMessage - Logs custom error message
        /// </summary>
        /// <param name="className"></param>
        /// <param name="functionName"></param>
        /// <param name="message"></param>
        public static void LogMessage(String className, String functionName, String message)
        {
            if (_instance == null)
                _instance = getInstance();

            Debug.WriteLine(className + " - " + functionName + ":");
            Debug.WriteLine(message);
        }
        /// <summary>
        /// LogException - Logs program error
        /// </summary>
        /// <param name="className"></param>
        /// <param name="functionName"></param>
        /// <param name="exc"></param>
        /// <param name="ErrorLevel"></param>
        public static void LogException(String className, String functionName, Exception exc, int ErrorLevel)
        {
            if (_instance == null)
                _instance = getInstance();

            Debug.WriteLine(exc.Message);
            Debug.WriteLine(exc.StackTrace);
        }
        private static ErrorLogger getInstance()
        {
            if (_instance == null)
            {
                lock (syncLock)
                {
                    if (_instance == null)
                        _instance = new ErrorLogger();
                }
            }

            return _instance;
        }