synopse / mORMot2

OpenSource RESTful ORM/SOA/MVC Framework for Delphi and FreePascal
https://synopse.info
Other
485 stars 122 forks source link

Suggest: TSynLog.ComputFileName add localtime option #259

Closed zen010101 closed 2 weeks ago

zen010101 commented 2 weeks ago
   fFileName := FormatString('% %', [fFileName, NowToFileShort(fFamily.LocalTimestamp)]);

So, if the user toggled TSynLog.Family.LocalTimestamp, then use it in the log filename generation.

synopse commented 2 weeks ago

Good idea!