Skip to content

Commit

Permalink
[debug] setlogger cannot be null
Browse files Browse the repository at this point in the history
  • Loading branch information
exilon committed Oct 22, 2020
1 parent 8f96b82 commit 010ce06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Quick.Debug.Utils.pas
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ class function TDebugger.Log: ILogger;

class procedure TDebugger.SetLogger(aLogger: ILogger);
begin
if aLogger = nil then raise Exception.Create('Debugger logger cannot be nil!');
fLogger := aLogger;
fShowTime := False;
end;
Expand Down

0 comments on commit 010ce06

Please sign in to comment.