diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-03-18 16:36:18 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-03-18 16:36:18 +0200 |
| commit | a21d0758fd56a76d934a036a3bfeacea8984ee85 (patch) | |
| tree | fcc29e5cc06bbe6a119aeadcdeb1cf51b96cb624 /Software/Visual_Studio/Tango.Logging | |
| parent | dbc2ed4982139d0dae5d380979a385938ca832f9 (diff) | |
| download | Tango-a21d0758fd56a76d934a036a3bfeacea8984ee85.tar.gz Tango-a21d0758fd56a76d934a036a3bfeacea8984ee85.zip | |
Implemented custom logging on Java !
Diffstat (limited to 'Software/Visual_Studio/Tango.Logging')
| -rw-r--r-- | Software/Visual_Studio/Tango.Logging/FileLogger.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Logging/FileLogger.cs b/Software/Visual_Studio/Tango.Logging/FileLogger.cs index 75c6e529e..e104b59b9 100644 --- a/Software/Visual_Studio/Tango.Logging/FileLogger.cs +++ b/Software/Visual_Studio/Tango.Logging/FileLogger.cs @@ -27,7 +27,7 @@ namespace Tango.Logging _isEnabled = true; String logsFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Twine", "Tango", "logs"); Directory.CreateDirectory(logsFolder); - LogFile = Path.Combine(logsFolder, string.Format("{1}-{0:yyyy-MM-dd_hh-mm-ss}.log", DateTime.Now, Path.GetFileNameWithoutExtension(System.AppDomain.CurrentDomain.FriendlyName))); + LogFile = Path.Combine(logsFolder, string.Format("{1}-{0:dd-MM-yyyy_hh-mm-ss}.log", DateTime.Now, Path.GetFileNameWithoutExtension(System.AppDomain.CurrentDomain.FriendlyName))); } /// <summary> |
