about summary refs log tree commit diff
path: root/tools/nixery/server/config/pkgsource.go
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-10-04T21·17+0100
committerVincent Ambo <github@tazj.in>2019-10-06T22·05+0100
commitf4bf3518f63501ddff42592b255fd5feaf846863 (patch)
treefcd731e62f3829f2952a40749bea87da76ee7665 /tools/nixery/server/config/pkgsource.go
parentd9b329ef59e35ae6070eae867cf06a5230ae3d51 (diff)
refactor(server): Replace log calls with logrus
This introduces a structured logging library that can be used (next
step) to attach additional metadata to log entries.
Diffstat (limited to 'tools/nixery/server/config/pkgsource.go')
-rw-r--r--tools/nixery/server/config/pkgsource.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/nixery/server/config/pkgsource.go b/tools/nixery/server/config/pkgsource.go
index 61bea33dfe62..98719ecceabb 100644
--- a/tools/nixery/server/config/pkgsource.go
+++ b/tools/nixery/server/config/pkgsource.go
@@ -17,10 +17,11 @@ import (
 	"crypto/sha1"
 	"encoding/json"
 	"fmt"
-	"log"
 	"os"
 	"regexp"
 	"strings"
+
+	log "github.com/sirupsen/logrus"
 )
 
 // PkgSource represents the source from which the Nix package set used