|
1 | 1 | /* |
2 | | -Package log - is a simple, highly configurable, structured logging that is a near drop in replacement for the std library log. |
| 2 | +is a simple, highly configurable, structured logging that is a near drop in replacement for the std library log. |
3 | 3 |
|
4 | 4 |
|
5 | 5 | Usage |
@@ -109,22 +109,34 @@ Adding your own Handler |
109 | 109 |
|
110 | 110 | Log Level Definitions |
111 | 111 |
|
112 | | - DebugLevel - Info useful to developers for debugging the application, not useful during operations. |
| 112 | + DebugLevel - Info useful to developers for debugging the application, not useful during |
| 113 | + operations. |
113 | 114 |
|
114 | | - TraceLevel - Info useful to developers for debugging the application and reporting on possible bottlenecks. |
| 115 | + TraceLevel - Info useful to developers for debugging the application and reporting on |
| 116 | + possible bottlenecks. |
115 | 117 |
|
116 | | - InfoLevel - Normal operational messages - may be harvested for reporting, measuring throughput, etc. - no action required. |
| 118 | + InfoLevel - Normal operational messages - may be harvested for reporting, measuring |
| 119 | + throughput, etc. - no action required. |
117 | 120 |
|
118 | | - NoticeLevel - Normal but significant condition. Events that are unusual but not error conditions - might be summarized in an email to developers or admins to spot potential problems - no immediate action required. |
| 121 | + NoticeLevel - Normal but significant condition. Events that are unusual but not error |
| 122 | + conditions - might be summarized in an email to developers or admins to |
| 123 | + spot potential problems - no immediate action required. |
119 | 124 |
|
120 | | - WarnLevel - Warning messages, not an error, but indication that an error will occur if action is not taken, e.g. file system 85% full - each item must be resolved within a given time. |
| 125 | + WarnLevel - Warning messages, not an error, but indication that an error will occur if |
| 126 | + action is not taken, e.g. file system 85% full - each item must be resolved |
| 127 | + within a given time. |
121 | 128 |
|
122 | | - ErrorLevel - Non-urgent failures, these should be relayed to developers or admins; each item must be resolved within a given time. |
| 129 | + ErrorLevel - Non-urgent failures, these should be relayed to developers or admins; each |
| 130 | + item must be resolved within a given time. |
123 | 131 |
|
124 | | - PanicLevel - A "panic" condition usually affecting multiple apps/servers/sites. At this level it would usually notify all tech staff on call. |
| 132 | + PanicLevel - A "panic" condition usually affecting multiple apps/servers/sites. At this |
| 133 | + level it would usually notify all tech staff on call. |
125 | 134 |
|
126 | | - AlertLevel - Action must be taken immediately. Should be corrected immediately, therefore notify staff who can fix the problem. An example would be the loss of a primary ISP connection. |
| 135 | + AlertLevel - Action must be taken immediately. Should be corrected immediately, therefore |
| 136 | + notify staff who can fix the problem. An example would be the loss of a |
| 137 | + primary ISP connection. |
127 | 138 |
|
128 | | - FatalLevel - Should be corrected immediately, but indicates failure in a primary system, an example is a loss of a backup ISP connection. ( same as SYSLOG CRITICAL ) |
| 139 | + FatalLevel - Should be corrected immediately, but indicates failure in a primary system, |
| 140 | + an example is a loss of a backup ISP connection. ( same as SYSLOG CRITICAL ) |
129 | 141 | */ |
130 | 142 | package log |
0 commit comments