summaryrefslogtreecommitdiff
path: root/obfs4proxy/log.go
AgeCommit message (Collapse)Author
2014-09-03Add a prolog/epilog to the logging that always gets logged.Yawning Angel
The prolog prints the version as soon as logging is enabled, but before the pluggable transport configuration is done. The epilog is printed as the code returns from main, as long as either client or server pt configuration succeded.
2014-09-03Add support for "logLevel" to reduce log spam.Yawning Angel
By default logging will be done at the "WARN" level. Fatal initialization errors will always be logged as long as logging is enabled regardless of logLevel.