create working test endpoint
This commit is contained in:
parent
560a3dbc4b
commit
c1930d6821
11 changed files with 134 additions and 66 deletions
13
internal/utils/logger.go
Normal file
13
internal/utils/logger.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package utils
|
||||
|
||||
import (
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
func InitializeLogger() *logrus.Logger {
|
||||
log := logrus.New()
|
||||
log.SetFormatter(&logrus.TextFormatter{
|
||||
FullTimestamp: true, // Include the full timestamp (with date and time)
|
||||
})
|
||||
return log
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue