Skip to content

Commit

Permalink
chore: coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
kevwan committed Jul 7, 2024
1 parent 6136c69 commit 4acee69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/tutorials/log/log.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,10 @@ import (
func main() {
var c logx.LogConf
conf.MustLoad("config.yaml", &c)

logx.MustSetup(c)

logx.AddWriter(logx.NewWriter(os.Stdout))

for {
select {
case <-proc.Done():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,10 @@ import (
func main() {
var c logx.LogConf
conf.MustLoad("config.yaml", &c)

logx.MustSetup(c)

logx.AddWriter(logx.NewWriter(os.Stdout))

for {
select {
case <-proc.Done():
Expand Down

0 comments on commit 4acee69

Please sign in to comment.