1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-22 20:37:05 +00:00

Update to 8.1.0 - a new logger implemented as a solution for https://github.com/kataras/iris/issues/680

Former-commit-id: 765b43602655fad7f525ca7a5f7f297a6167d075
This commit is contained in:
kataras
2017-07-26 15:30:20 +03:00
parent 726d89fd1b
commit 345e7280a1
14 changed files with 78 additions and 50 deletions

View File

@@ -4,7 +4,7 @@ import (
"io"
"net/http"
"github.com/sirupsen/logrus"
"github.com/kataras/golog"
)
// Application is the context's owner.
@@ -14,8 +14,8 @@ type Application interface {
// ConfigurationReadOnly returns all the available configuration values can be used on a request.
ConfigurationReadOnly() ConfigurationReadOnly
// Logger returns the logrus logger instance(pointer) that is being used inside the "app".
Logger() *logrus.Logger
// Logger returns the golog logger instance(pointer) that is being used inside the "app".
Logger() *golog.Logger
// View executes and write the result of a template file to the writer.
//