mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-15 07:45:54 +01:00
Removed ENTER/EXIT log entries from LoadDefaultConfig and LoadSystemController
This commit is contained in:
parent
3caec73e5c
commit
072fd18392
@ -2513,7 +2513,7 @@ end;
|
||||
|
||||
procedure TMVCEngine.ConfigDefaultValues;
|
||||
begin
|
||||
Log.Info('ENTER: Config default values', LOGGERPRO_TAG);
|
||||
LogI('Loading Config default values');
|
||||
|
||||
Config[TMVCConfigKey.SessionTimeout] := '30' { 30 minutes };
|
||||
Config[TMVCConfigKey.DefaultContentType] := TMVCConstants.DEFAULT_CONTENT_TYPE;
|
||||
@ -2531,8 +2531,6 @@ begin
|
||||
Config[TMVCConfigKey.HATEOSPropertyName] := '_links';
|
||||
Config[TMVCConfigKey.LoadSystemControllers] := 'true';
|
||||
|
||||
Log.Info('EXIT: Config default values', LOGGERPRO_TAG);
|
||||
|
||||
fOnRouterLog :=
|
||||
procedure(
|
||||
const Sender: TMVCCustomRouter;
|
||||
@ -3623,9 +3621,8 @@ procedure TMVCEngine.LoadSystemControllers;
|
||||
begin
|
||||
if FConfig[TMVCConfigKey.LoadSystemControllers] = 'true' then
|
||||
begin
|
||||
Log(TLogLevel.levNormal, 'ENTER: LoadSystemControllers');
|
||||
LogI('Loading System Controllers');
|
||||
AddController(TMVCSystemController);
|
||||
Log(TLogLevel.levNormal, 'EXIT: LoadSystemControllers');
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user