Skip to content
Snippets Groups Projects
Commit 88f3390d authored by jkerdreu's avatar jkerdreu
Browse files

Switch to log instead of fmt


git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@3233 b32b6428-25c9-4566-ad07-03861ab6144f
parent 2e03c956
Branches
No related tags found
No related merge requests found
......@@ -44,10 +44,10 @@ func New${Name}(addr uuid.UUID) *xaal.Device {
% if len(keys) != 0 :
${camel_meth} := func(args xaal.MessageBody) *xaal.MessageBody {
// Arguments: ${print_keys}
fmt.Printf("default ${meth}: %v\n", args)
log.Printf("${camel_meth} method: ${meth} args: %v\n", args)
% else:
${camel_meth} := func(xaal.MessageBody) *xaal.MessageBody {
fmt.Printf("default ${meth}\n")
log.Printf("${camel_meth} method: ${meth}\n")
% endif
return nil
}
......
package xaalschemas
import (
"fmt"
"log"
xaal "xAAL/xaal"
"github.com/google/uuid"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment