diff --git a/echo/main.go b/echo/main.go index cd6f582..fd31c10 100644 --- a/echo/main.go +++ b/echo/main.go @@ -80,7 +80,7 @@ func main() { // LibP2P code uses golog to log messages. They log with different // string IDs (i.e. "swarm"). We can control the verbosity level for // all loggers with: - golog.SetAllLoggers(gologging.INFO) // Change to DEBUG for extra info + golog.SetAllLoggers(golog.LevelInfo) // Change to DEBUG for extra info // Parse options from the command line listenF := flag.Int("l", 0, "wait for incoming connections") diff --git a/routed-echo/main.go b/routed-echo/main.go index 3cffb7d..b67ad56 100644 --- a/routed-echo/main.go +++ b/routed-echo/main.go @@ -107,7 +107,7 @@ func main() { // LibP2P code uses golog to log messages. They log with different // string IDs (i.e. "swarm"). We can control the verbosity level for // all loggers with: - golog.SetAllLoggers(gologging.INFO) // Change to DEBUG for extra info + golog.SetAllLoggers(golog.LevelInfo) // Change to DEBUG for extra info // Parse options from the command line listenF := flag.Int("l", 0, "wait for incoming connections")