forked from urdt/ussd
Added log to show debug the flag loaded
This commit is contained in:
parent
8ffc5d67cc
commit
1957606bc2
@ -6,6 +6,7 @@ import (
|
|||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"path"
|
"path"
|
||||||
"strconv"
|
"strconv"
|
||||||
@ -71,6 +72,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Register the flag
|
// Register the flag
|
||||||
|
log.Printf("Registering flagName:%s; flagValue:%v", flagName, flagValue)
|
||||||
state.FlagDebugger.Register(uint32(flagValue), flagName)
|
state.FlagDebugger.Register(uint32(flagValue), flagName)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user