summaryrefslogtreecommitdiff
path: root/cmd/rr/main.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-10 20:31:05 +0300
committerWolfy-J <[email protected]>2018-06-10 20:31:05 +0300
commited3a0f2bb25077c7a32a54ddb3754f04ffbdccf3 (patch)
tree9a579e6ce81e7af5e3844fbcf590f9c8db26d90a /cmd/rr/main.go
parentade5cc504e2b082d0838cc93c3a185246fdc7834 (diff)
debug mode have been added
Diffstat (limited to 'cmd/rr/main.go')
-rw-r--r--cmd/rr/main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go
index ed47b2ed..6065d3d1 100644
--- a/cmd/rr/main.go
+++ b/cmd/rr/main.go
@@ -32,6 +32,7 @@ import (
// cli plugins
_ "github.com/spiral/roadrunner/cmd/rr/http"
+ "github.com/spiral/roadrunner/debug"
)
func main() {
@@ -44,6 +45,9 @@ func main() {
// serving static files
rr.Container.Register(static.Name, &static.Service{})
+ // provides additional verbosity
+ rr.Container.Register(debug.Name, &debug.Service{Logger: rr.Logger})
+
// you can register additional commands using cmd.CLI
rr.Execute()
}