first commit
This commit is contained in:
14
main.go
Normal file
14
main.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package main
|
||||
|
||||
import "github.com/tecamino/tecamino-logger.git/logger"
|
||||
|
||||
func main() {
|
||||
log, err := logger.NewLogger("Test")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
log.Log(logger.Info, "line 10", "hallo")
|
||||
log.Log(logger.Warning, "line 11", "vello")
|
||||
log.Log(logger.Error, "line 12", "hie")
|
||||
log.Log(logger.Debug, "line 13", "isch")
|
||||
}
|
Reference in New Issue
Block a user