feat: add usage example

This commit is contained in:
weloe
2023-05-06 23:37:13 +08:00
parent 25f85c7114
commit e831ad6bf6
4 changed files with 171 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ func (d *DefaultLogger) Login(loginType string, id interface{}, tokenValue strin
if !d.enable {
return
}
log.Printf("LoginByModel: loginId = %v, loginType = %v, tokenValue = %v, "+
log.Printf("Login: loginId = %v, loginType = %v, tokenValue = %v, "+
"loginMode = %v", id, loginType, tokenValue, loginModel)
}