public void TestSetUp()
 {
     settings = new FileMessagePersisterSettings
     {
         RootDirectory = "root",
         DirectoryFormat = "{Timestamp:yyyyMMdd}",
         ContentFormat = "{Data} {Timestamp:yyyy-MM-dd-HH-mm-ss-fff}",
         FileNameFormat = "{Data} {Timestamp:yyyy-MM-dd-HH-mm-ss-fff}.log"
     };
 }
 public FileMessagePersister(FileMessagePersisterSettings settings, IFileSystem fileSystem)
 {
     this.settings = settings;
     this.fileSystem = fileSystem;
 }
 public FileMessagePersister(FileMessagePersisterSettings settings) : this(settings, new FileSystem()) { }