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:
parent
d9b329ef59
commit
f4bf3518f6
8 changed files with 17 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue