aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHenry Hazan2013-10-09 09:55:11 -0400
committerPete Bacon Darwin2013-10-09 21:10:38 +0100
commit5fc6eb0b5d8598190dc625254a609a1a4e5ae897 (patch)
treed8c99edd08ace29cce6aeaf5b34988eded9cd70a /src
parent9bbd62f4543ad8760deec08170c674cc028772cc (diff)
downloadangular.js-5fc6eb0b5d8598190dc625254a609a1a4e5ae897.tar.bz2
docs($log): explain how to configure debug logging
Closes #4348
Diffstat (limited to 'src')
-rw-r--r--src/ng/log.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ng/log.js b/src/ng/log.js
index 0678ac21..70911fdf 100644
--- a/src/ng/log.js
+++ b/src/ng/log.js
@@ -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">