Skip to content
Snippets Groups Projects
Commit 054270cf authored by KERDREUX Jerome's avatar KERDREUX Jerome
Browse files

Testing w/ init()

parent 8244b42d
No related branches found
No related tags found
No related merge requests found
...@@ -19,9 +19,11 @@ func dumpMessage(msg *xaal.Message) { ...@@ -19,9 +19,11 @@ func dumpMessage(msg *xaal.Message) {
fmt.Println() fmt.Println()
} }
func main() { func init() {
xaal.SetupLogger(slog.LevelInfo) xaal.SetupLogger(slog.LevelInfo)
}
func main() {
// parse cmd line // parse cmd line
flagAliveFilter := flag.Bool("alive", true, "Enable/Disable Alive filtering") flagAliveFilter := flag.Bool("alive", true, "Enable/Disable Alive filtering")
flagUUID := flag.String("target", "", "UUID to filter messages") flagUUID := flag.String("target", "", "UUID to filter messages")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment