d629c1d3 by astaxie

change the comments

1 parent 817650aa
...@@ -295,8 +295,7 @@ func (bl *BeeLogger) Debug(format string, v ...interface{}) { ...@@ -295,8 +295,7 @@ func (bl *BeeLogger) Debug(format string, v ...interface{}) {
295 } 295 }
296 296
297 // Log WARN level message. 297 // Log WARN level message.
298 // 298 // compatibility alias for Warning()
299 // Deprecated: compatibility alias for Warning(), Will be removed in 1.5.0.
300 func (bl *BeeLogger) Warn(format string, v ...interface{}) { 299 func (bl *BeeLogger) Warn(format string, v ...interface{}) {
301 if LevelWarning > bl.level { 300 if LevelWarning > bl.level {
302 return 301 return
...@@ -306,8 +305,7 @@ func (bl *BeeLogger) Warn(format string, v ...interface{}) { ...@@ -306,8 +305,7 @@ func (bl *BeeLogger) Warn(format string, v ...interface{}) {
306 } 305 }
307 306
308 // Log INFO level message. 307 // Log INFO level message.
309 // 308 // compatibility alias for Informational()
310 // Deprecated: compatibility alias for Informational(), Will be removed in 1.5.0.
311 func (bl *BeeLogger) Info(format string, v ...interface{}) { 309 func (bl *BeeLogger) Info(format string, v ...interface{}) {
312 if LevelInformational > bl.level { 310 if LevelInformational > bl.level {
313 return 311 return
...@@ -317,8 +315,7 @@ func (bl *BeeLogger) Info(format string, v ...interface{}) { ...@@ -317,8 +315,7 @@ func (bl *BeeLogger) Info(format string, v ...interface{}) {
317 } 315 }
318 316
319 // Log TRACE level message. 317 // Log TRACE level message.
320 // 318 // compatibility alias for Debug()
321 // Deprecated: compatibility alias for Debug(), Will be removed in 1.5.0.
322 func (bl *BeeLogger) Trace(format string, v ...interface{}) { 319 func (bl *BeeLogger) Trace(format string, v ...interface{}) {
323 if LevelDebug > bl.level { 320 if LevelDebug > bl.level {
324 return 321 return
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!