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