mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 18:40:55 +00:00
change the comments
This commit is contained in:
parent
817650aa33
commit
d629c1d3d0
@ -295,8 +295,7 @@ func (bl *BeeLogger) Debug(format string, v ...interface{}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Log WARN level message.
|
// Log WARN level message.
|
||||||
//
|
// compatibility alias for Warning()
|
||||||
// Deprecated: compatibility alias for Warning(), Will be removed in 1.5.0.
|
|
||||||
func (bl *BeeLogger) Warn(format string, v ...interface{}) {
|
func (bl *BeeLogger) Warn(format string, v ...interface{}) {
|
||||||
if LevelWarning > bl.level {
|
if LevelWarning > bl.level {
|
||||||
return
|
return
|
||||||
@ -306,8 +305,7 @@ func (bl *BeeLogger) Warn(format string, v ...interface{}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Log INFO level message.
|
// Log INFO level message.
|
||||||
//
|
// compatibility alias for Informational()
|
||||||
// Deprecated: compatibility alias for Informational(), Will be removed in 1.5.0.
|
|
||||||
func (bl *BeeLogger) Info(format string, v ...interface{}) {
|
func (bl *BeeLogger) Info(format string, v ...interface{}) {
|
||||||
if LevelInformational > bl.level {
|
if LevelInformational > bl.level {
|
||||||
return
|
return
|
||||||
@ -317,8 +315,7 @@ func (bl *BeeLogger) Info(format string, v ...interface{}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Log TRACE level message.
|
// Log TRACE level message.
|
||||||
//
|
// compatibility alias for Debug()
|
||||||
// Deprecated: compatibility alias for Debug(), Will be removed in 1.5.0.
|
|
||||||
func (bl *BeeLogger) Trace(format string, v ...interface{}) {
|
func (bl *BeeLogger) Trace(format string, v ...interface{}) {
|
||||||
if LevelDebug > bl.level {
|
if LevelDebug > bl.level {
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user