docs($log): explain how to configure debug logging

Closes #4348
This commit is contained in:
Henry Hazan 2013-10-09 09:55:11 -04:00 committed by Pete Bacon Darwin
parent 9bbd62f454
commit 5fc6eb0b5d

View file

@ -8,9 +8,12 @@
* @description
* Simple service for logging. Default implementation writes the message
* into the browser's console (if present).
*
*
* The main purpose of this service is to simplify debugging and troubleshooting.
*
* The default is not to log `debug` messages. You can use
* {@link ng.$logProvider ng.$logProvider#debugEnabled} to change this.
*
* @example
<example>
<file name="script.js">