mirror of
https://github.com/1f349/violet.git
synced 2024-11-23 11:51:37 +00:00
13 lines
201 B
Go
13 lines
201 B
Go
package logger
|
|
|
|
import (
|
|
"github.com/charmbracelet/log"
|
|
"os"
|
|
)
|
|
|
|
var Logger = log.NewWithOptions(os.Stderr, log.Options{
|
|
ReportCaller: true,
|
|
ReportTimestamp: true,
|
|
Prefix: "Violet",
|
|
})
|