mormot日志
mormot日志
uses
SynLog;
if log = nil then // 日志
begin
log := TSynLog.Add;
log.Family.DestinationPath := ExeVersion.ProgramFilePath + '\logs';
log.Family.Level := [sllInfo, sllError, sllLastError, sllException, sllExceptionOS, sllFail, sllSQL];
log.Family.AutoFlushTimeOut := 60;
end;
本文来自博客园,作者:{咏南中间件},转载请注明原文链接:https://www.cnblogs.com/hnxxcxg/p/8097349.html