diff options
author | Wolfy-J <[email protected]> | 2018-06-10 20:31:05 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-10 20:31:05 +0300 |
commit | ed3a0f2bb25077c7a32a54ddb3754f04ffbdccf3 (patch) | |
tree | 9a579e6ce81e7af5e3844fbcf590f9c8db26d90a /cmd/rr/main.go | |
parent | ade5cc504e2b082d0838cc93c3a185246fdc7834 (diff) |
debug mode have been added
Diffstat (limited to 'cmd/rr/main.go')
-rw-r--r-- | cmd/rr/main.go | 4 |
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() } |