mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 06:35:07 +03:00
Add support for logging to file or syslog instead of stdout
This commit is contained in:
parent
2fd3ac6837
commit
93a323c62c
2 changed files with 20 additions and 2 deletions
|
@ -232,7 +232,7 @@ func (c *Core) GetSessions() []Session {
|
|||
// from git, or returns "unknown" otherwise.
|
||||
func BuildName() string {
|
||||
if buildName == "" {
|
||||
return "unknown"
|
||||
return "yggdrasil"
|
||||
}
|
||||
return buildName
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue