Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
9b846972
Commit
9b846972
authored
Aug 04, 2016
by
Frank Hildebrandt
Committed by
Fabien Potencier
Aug 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix lazy evaluation of 'monolog.use_error_handler'
parent
efe70d6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/Silex/Provider/MonologServiceProvider.php
src/Silex/Provider/MonologServiceProvider.php
+3
-1
No files found.
src/Silex/Provider/MonologServiceProvider.php
View file @
9b846972
...
@@ -106,7 +106,9 @@ class MonologServiceProvider implements ServiceProviderInterface, BootableProvid
...
@@ -106,7 +106,9 @@ class MonologServiceProvider implements ServiceProviderInterface, BootableProvid
$app
[
'monolog.permission'
]
=
null
;
$app
[
'monolog.permission'
]
=
null
;
$app
[
'monolog.exception.logger_filter'
]
=
null
;
$app
[
'monolog.exception.logger_filter'
]
=
null
;
$app
[
'monolog.logfile'
]
=
null
;
$app
[
'monolog.logfile'
]
=
null
;
$app
[
'monolog.use_error_handler'
]
=
!
$app
[
'debug'
];
$app
[
'monolog.use_error_handler'
]
=
function
(
$app
)
{
return
!
$app
[
'debug'
];
};
}
}
public
function
boot
(
Application
$app
)
public
function
boot
(
Application
$app
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment