Esempio n. 1
0
 public FilePath LogPath <T>(LogTarget <T> target, FileExtension ext = null, long?timestamp = null)
     where T : Enum
 => LogDir(target.Area) + FileName.Define($"{target.Area}.{target.KindName}.{timestamp ?? LogDate}.{ext ?? DefaultExtension}");
Esempio n. 2
0
File: Log.cs Progetto: 0xCM/arrows
 FilePath LogPath(string topic, FileExtension ext = null)
 => LogSettings.Get().LogPath(Area, topic, ext);
Esempio n. 3
0
 public FilePath LogPath(LogArea area, string topic, FileExtension ext = null, long?timestamp = null)
 => LogDir(area) + FileName.Define($"{area}.{topic}.{timestamp ?? LogDate}.{ext ?? DefaultExtension}");