File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -647,6 +647,7 @@ Exception Handler Config Options
647647 'initialize' => true,
648648 'search_engine' => 'google',
649649 'handle_errors' => true,
650+ 'show_log_id' => true,
650651 ],
651652 ],
652653 ]
@@ -697,6 +698,12 @@ handle_errors
697698If initialize is ``true ``, this option defines whether to set the class as an
698699error handler. The default value is ``true ``.
699700
701+ show_log_id
702+ """""""""""
703+
704+ Allow to show or hide the log id in the production view. The default is ``true ``,
705+ to show.
706+
700707Language Service
701708^^^^^^^^^^^^^^^^
702709
Original file line number Diff line number Diff line change @@ -636,6 +636,9 @@ protected static function setExceptionHandler(string $instance) : ExceptionHandl
636636 if (isset ($ config ['search_engine ' ])) {
637637 $ service ->getSearchEngines ()->setCurrent ($ config ['search_engine ' ]);
638638 }
639+ if (isset ($ config ['show_log_id ' ])) {
640+ $ service ->setShowLogId ($ config ['show_log_id ' ]);
641+ }
639642 return static ::setService ('exceptionHandler ' , $ service , $ instance );
640643 }
641644
Original file line number Diff line number Diff line change 1616 'production_view ' => __FILE__ ,
1717 'initialize ' => true ,
1818 'search_engine ' => 'bing ' ,
19+ 'show_log_id ' => true ,
1920 'logger_instance ' => 'default ' ,
2021 'language_instance ' => 'default ' ,
2122 ],
You can’t perform that action at this time.
0 commit comments