Remove logrus to allow for easier customization

This commit is contained in:
Arthur Barr
2018-02-22 17:29:06 +00:00
parent b497a04dcb
commit 91bf65ab57
52 changed files with 241 additions and 3795 deletions

View File

@@ -18,10 +18,11 @@ package main
import (
"flag"
"io/ioutil"
"os"
"strconv"
"testing"
log "github.com/sirupsen/logrus"
"github.com/ibm-messaging/mq-container/internal/logger"
)
var test *bool
@@ -30,6 +31,7 @@ const filename = "/var/coverage/exitCode"
func init() {
test = flag.Bool("test", false, "Set to true when running tests for coverage")
log = logger.NewLogger(os.Stdout, true, false)
}
// Test started when the test binary is started. Only calls main.