-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
logger format error, logger can't parse "%" #5261
Labels
type:question
general questions
Comments
func TestGORM(t *testing.T) {
user := User{Name: "jinzhu"}
DB.Create(&user)
var users []User
DB.Where("name LIKE ?", "%" user.Name "%").Find(&users)
} It's work in last version, maybe you used |
We had the same problem! Query works correctly but it prints the !(MISSING) on the logs and it creates confusion while debugging the code. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
logger format error, logger can't parse "%"
When i run this code,
I got this log
The document you expected this should be explained
Expected answer
I want the log like this
The logger make %a and %' as format character.
The text was updated successfully, but these errors were encountered: