reduce logs for non-debug runtime
This commit is contained in:
1 parent
5103d87211
commit
d66be97922
39 files changed
+182
-31
No files matched your search
@@ -123,6 +123,8 @@ var activeJoiner struct {
|
||||
func ActiveWsPort() int { return activeJoiner.wsPort }
|
||||
func ActiveSocksPort() int { return activeJoiner.socksPort }
|
||||
|
||||
func SetDebug(enabled bool) { common.Debug = enabled }
|
||||
|
||||
func StopJoiner() {
|
||||
activeJoiner.Lock()
|
||||
defer activeJoiner.Unlock()
|
||||
|
||||
Reference in new issue
Block a user