Skip to content

Commit aa47319

Browse files
henry-hzjamesdaily
authored andcommitted
docs($log): explain how to configure debug logging
Closes angular#4348
1 parent 2ace53e commit aa47319

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ng/log.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@
88
* @description
99
* Simple service for logging. Default implementation writes the message
1010
* into the browser's console (if present).
11-
*
11+
*
1212
* The main purpose of this service is to simplify debugging and troubleshooting.
1313
*
14+
* The default is not to log `debug` messages. You can use
15+
* {@link ng.$logProvider ng.$logProvider#debugEnabled} to change this.
16+
*
1417
* @example
1518
<example>
1619
<file name="script.js">

0 commit comments

Comments
 (0)