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.
This commit is contained in:
Vincent Ambo 2019-10-04 22:17:11 +01:00 committed by Vincent Ambo
parent d9b329ef59
commit f4bf3518f6
8 changed files with 17 additions and 7 deletions

View file

@ -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