private async Task LogMessage(string message, LogBotEntryLevel level) { await Task.Factory.StartNew(() => { Logger.AddAsync( new LogBotEntry( message, level) , _uiDispatcher); }); }
public LogBotEntry(string message) { Message = message; Time = DateTime.Now; Level = LogBotEntryLevel.Info; }
public LogBotEntry(string message, LogBotEntryLevel level) { Message = message; Time = DateTime.Now; Level = level; }
public LogBotEntry() { Time = DateTime.Now; Message = "Nothing to Show"; Level = LogBotEntryLevel.Debug; }