mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 06:35:07 +03:00
Fix typos
This commit is contained in:
parent
9967541627
commit
73f50af3b7
19 changed files with 33 additions and 33 deletions
|
@ -22,7 +22,7 @@ func GenerateConfig() *config.NodeConfig {
|
|||
return cfg
|
||||
}
|
||||
|
||||
// GetLoggerWithPrefix creates a new logger instance wih prefix.
|
||||
// GetLoggerWithPrefix creates a new logger instance with prefix.
|
||||
// If verbose is set to true, three log levels are enabled: "info", "warn", "error".
|
||||
func GetLoggerWithPrefix(prefix string, verbose bool) *log.Logger {
|
||||
l := log.New(os.Stderr, prefix, log.Flags())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue