This website works better with JavaScript.
Home
Help
Register
Sign In
go
/
capstan
Watch
3
Star
0
Fork
0
Code
Issues
6
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Default logger was never set for production mode.
master
Benjamin Shelton
2 weeks ago
parent
75243031cd
commit
73c8e01245
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
application.go
+ 1
- 0
application.go
View File
@ -88,6 +88,7 @@ func New(conf ...*config.Config) *application {
switch
mode
{
case
"production"
:
app
.
logger
.
SetLevel
(
logging
.
Warning
)
case
"development"
:
app
.
logger
.
SetLevel
(
logging
.
Debug
)
}
Write
Preview
Loading…
Cancel
Save