mirror of
https://github.com/kataras/iris.git
synced 2025-12-23 04:47:02 +00:00
logging: several improvements
Former-commit-id: 12538c74a1aa55314c35ac3cf2665646b704851d
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package context
|
||||
|
||||
import (
|
||||
"io"
|
||||
"os"
|
||||
"path"
|
||||
"path/filepath"
|
||||
@@ -43,9 +44,9 @@ type RouteReadOnly interface {
|
||||
|
||||
// ResolvePath returns the formatted path's %v replaced with the args.
|
||||
ResolvePath(args ...string) string
|
||||
// Trace returns some debug infos as a string sentence.
|
||||
// Trace should writes debug route info to the "w".
|
||||
// Should be called after Build.
|
||||
Trace() string
|
||||
Trace(w io.Writer)
|
||||
|
||||
// Tmpl returns the path template,
|
||||
// it contains the parsed template
|
||||
|
||||
Reference in New Issue
Block a user