Пример #1
0
        private void _showLog(object message, LogType type)
        {
            switch (type)
            {
            case LogType.Debug:
                _log(message, true);
                break;

            case LogType.Info:
                _log(message, false);
                break;

            case LogType.Warning:
                _warning(message);
                break;

            case LogType.Error:
                _error(message);
                break;

            case LogType.Exception:
                _exception(message);
                break;
            }
        }
Пример #2
0
 public void ShowLog(string message, LogType type = LogType.Debug)
 {
     _showLog(message, type);
 }
Пример #3
0
 public void ShowLog(object message, LogType type = LogType.Debug)
 {
     _showLog(message, type);
 }