Skip to content

Commit

Permalink
Change in logging example
Browse files Browse the repository at this point in the history
  • Loading branch information
naeemaei committed Oct 7, 2023
1 parent 5af3748 commit 4cbce71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 14-Logging/04-MiniProject/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
package main

import (
"log"
"notification/core"
"notification/entities"
"notification/services"
Expand All @@ -10,7 +11,7 @@ import (
var logger = core.NewFileLogger()

func main() {

log.Logger = logger
order1 := entities.Order{
ID: 1,
UserFullName: "John Doe",
Expand Down

0 comments on commit 4cbce71

Please sign in to comment.