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
9ba29bde
Commit
9ba29bde
authored
Jul 04, 2013
by
Igor Wiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust docs on how to enable logger service
parent
aa8a25d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
doc/services.rst
doc/services.rst
+3
-2
No files found.
doc/services.rst
View file @
9ba29bde
...
@@ -226,8 +226,9 @@ don't want to mess with most of them.
...
@@ -226,8 +226,9 @@ don't want to mess with most of them.
``$app['exception_handler']->disable()``.
``$app['exception_handler']->disable()``.
* **logger**: A ``Psr\Log\LoggerInterface`` instance. By default, logging is
* **logger**: A ``Psr\Log\LoggerInterface`` instance. By default, logging is
disabled as the value is set to ``null``. When the Symfony2 Monolog bridge is
disabled as the value is set to ``null``. To enable logging you can either use
installed, Monolog is automatically used as the default logger.
the ``MonologServiceProvider`` or define your own ``logger`` service that
conforms to the PSR logger interface.
In versions of Silex before 1.1 this must be a
In versions of Silex before 1.1 this must be a
``Symfony\Component\HttpKernel\Log\LoggerInterface``.
``Symfony\Component\HttpKernel\Log\LoggerInterface``.
...
...
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