bump go-micro and micro to v2.3.0 (#510)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
27cdc3bd7e
commit
5d72cb3446
@ -66,8 +66,7 @@ func TestWithFields(t *testing.T) {
|
||||
|
||||
func TestWithError(t *testing.T) {
|
||||
logger.DefaultLogger = NewLogger()
|
||||
|
||||
logger.WithError(errors.New("I am Error")).Logf(logger.ErrorLevel, "testing: %s", "WithError")
|
||||
logger.Fields(map[string]interface{}{"error": errors.New("I am Error")}).Logf(logger.ErrorLevel, "testing: %s", "WithError")
|
||||
}
|
||||
|
||||
func TestWithHooks(t *testing.T) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user