aboutsummaryrefslogtreecommitdiff
path: root/src/main.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-10-27 10:43:37 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-10-27 10:43:37 +0200
commit0485c34c8e20e4f7ea19bd3c3f52d2f4717caead (patch)
tree72c360fc84cb731bfa84fc627063debdf69ecd2c /src/main.go
parentfd6f2e1f554cb545c7c554b56e2ac77308822680 (diff)
downloadwireguard-go-0485c34c8e20e4f7ea19bd3c3f52d2f4717caead.tar.gz
wireguard-go-0485c34c8e20e4f7ea19bd3c3f52d2f4717caead.zip
Fixed message header length in conn_linux
Diffstat (limited to 'src/main.go')
-rw-r--r--src/main.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.go b/src/main.go
index 5aaed9b..05d56eb 100644
--- a/src/main.go
+++ b/src/main.go
@@ -84,7 +84,10 @@ func main() {
logInfo := device.log.Info
logError := device.log.Error
- logInfo.Println("Starting device")
+ logDebug := device.log.Debug
+
+ logInfo.Println("Device started")
+ logDebug.Println("Debug log enabled")
// start configuration lister