public StatusChangeEventArgs(string key, object oldValue, object newValue) { Timestamp = new DateTime(); Key = key; OldValue = oldValue; OldValueString = LocalStatusLogger.FormatValue(oldValue); NewValue = newValue; NewValueString = LocalStatusLogger.FormatValue(newValue); }
public StatusLoggerWriter(LocalStatusLogger logger, string path) { Path = path; logger.Changed += OnChanged; }
public static LocalStatusLogger GetInstance() { return(instance ?? (instance = new LocalStatusLogger())); }