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

@ -26,7 +26,6 @@ import (
"fmt"
"io"
"io/ioutil"
"log"
"net/http"
"net/url"
"os"
@ -38,6 +37,7 @@ import (
"github.com/google/nixery/config"
"github.com/google/nixery/layers"
"github.com/google/nixery/manifest"
log "github.com/sirupsen/logrus"
"golang.org/x/oauth2/google"
)