mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 17:20:50 +00:00
Add format func to alils
This commit is contained in:
parent
705e091593
commit
e1da804b2b
@ -100,6 +100,10 @@ func (c *aliLSWriter) Init(jsonConfig string) (err error) {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (c *aliLSWriter) Format(lm *logs.LogMsg) string {
|
||||
return lm.Msg
|
||||
}
|
||||
|
||||
// WriteMsg writes a message in connection.
|
||||
// If connection is down, try to re-connect.
|
||||
func (c *aliLSWriter) WriteMsg(lm *logs.LogMsg) error {
|
||||
|
Loading…
Reference in New Issue
Block a user