You are not logged in.
Pages: 1
I can't figure out this code work properly. when I replace myLog1 with TSynLog it works.
var
myLog1,myLog2: TSynLog;
begin
myLog1 := TSynLog.Create();
myLog1.Family.Level := LOG_VERBOSE;
myLog1.Family.DestinationPath := 'D:\SynLog1\';
myLog1.Family.FileExistsAction := acAppend;
myLog1.Log(sllInfo, 'Logging initialized.');
end;
Last edited by anouri (2025-04-01 10:23:47)
Offline
Pages: 1