Skip to content

Commit 556d8ed

Browse files
joeybloggsjoeybloggs
authored andcommitted
update good formatting
1 parent 994f4be commit 556d8ed

File tree

1 file changed

+22
-10
lines changed

1 file changed

+22
-10
lines changed

doc.go

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
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.
33
44
55
Usage
@@ -109,22 +109,34 @@ Adding your own Handler
109109
110110
Log Level Definitions
111111
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.
113114
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.
115117
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.
117120
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.
119124
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.
121128
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.
123131
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.
125134
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.
127138
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 )
129141
*/
130142
package log

0 commit comments

Comments
 (0)