rename print_stdout to print_debug

dev
Bùi Đại Gia 2021-08-23 19:18:07 +07:00 committed by GitHub
parent 5aad51045c
commit 986a4981fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -246,8 +246,8 @@ var functions = map[string]govaluate.ExpressionFunction{
return data, nil
},
// for debug purposes
"print_stdout": func(args ...interface{}) (interface{}, error) {
fmt.Println(args)
"print_debug": func(args ...interface{}) (interface{}, error) {
gologger.Info().Msgf("print_debug value: %s", fmt.Sprint(args))
return true, nil
},
}