* Updated to Lazarus 1.5

This commit is contained in:
2015-05-01 11:42:50 +02:00
parent 2e3dd53eeb
commit 91f3aadb82
3 changed files with 45 additions and 97 deletions

View File

@@ -28,7 +28,7 @@ program CentrED;
{$mode objfpc}{$H+}
uses
{$IFNDEF NoLogging}heaptrc,{$ENDIF}
{$IFNDEF NoLogging}heaptrc, Logging, filechannel,{$ENDIF}
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
@@ -46,6 +46,7 @@ end;
begin
{$IFNDEF NoLogging}
SetHeapTraceOutput('CentrED.trc');
Logger.Channels.Add(TFileChannel.Create('CentrED.log'));
{$ENDIF}
OnGetApplicationName := @GetApplicationName;