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

@ -30,7 +30,6 @@ import (
"encoding/json"
"fmt"
"io/ioutil"
"log"
"net/http"
"regexp"
"time"
@ -39,6 +38,7 @@ import (
"github.com/google/nixery/builder"
"github.com/google/nixery/config"
"github.com/google/nixery/layers"
log "github.com/sirupsen/logrus"
)
// ManifestMediaType is the Content-Type used for the manifest itself. This