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 return data, nil
}, },
// for debug purposes // for debug purposes
"print_stdout": func(args ...interface{}) (interface{}, error) { "print_debug": func(args ...interface{}) (interface{}, error) {
fmt.Println(args) gologger.Info().Msgf("print_debug value: %s", fmt.Sprint(args))
return true, nil return true, nil
}, },
} }