File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -21,4 +21,15 @@ The config object to be passed to each service has the following properties:
21
21
- debug: log both debug and error messages
22
22
- error: only log error messages (debug messages are not logged)
23
23
24
- The config object should be declared as an AngularJS constant named LOGGING_CONFIG.
24
+ The config object should be declared as an AngularJS constant named LOGGING_CONFIG.
25
+
26
+ Example use of LOGGING_CONFIG:
27
+
28
+ ``` javascript
29
+ // config object for application logger
30
+ config .LOGGING_CONFIG = {
31
+ LOGGING_TYPE : ' local' ,
32
+ REMOTE_LOGGING_ENDPOINT : config .TDC_ENDPOINT + " /clientlogger" ,
33
+ REMOTE_ERROR_REPORT_ENDPOINT : config .TDC_ENDPOINT + " /usererrorreport" ,
34
+ LOGGING_LEVEL : " debug" };
35
+ ```
You can’t perform that action at this time.
0 commit comments