mirror of
https://github.com/1f349/violet.git
synced 2024-11-09 22:22:50 +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",
|
||
|
})
|