Documentation ¶
Index ¶
- Constants
- func ClearLogs()
- func Debugf(f string, v ...any)
- func Durf(msg string, d time.Duration)
- func Error(msg string)
- func Errorf(f string, v ...any)
- func Fatalf(f string, v ...any)
- func Infof(f string, v ...any)
- func SetLogLevel(l LogLevel)
- func TemplierFileChange(e fsnotify.Event)
- func TemplierRestartingServer(cmdServerPath string)
- func TemplierStarted(baseURL string)
- type LogLevel
Constants ¶
View Source
const TimeFormat = "3:04:05.000 PM"
Variables ¶
This section is empty.
Functions ¶
func SetLogLevel ¶ added in v0.6.0
func SetLogLevel(l LogLevel)
func TemplierFileChange ¶
TemplierFileChange prints a file change log to console.
func TemplierRestartingServer ¶
func TemplierRestartingServer(cmdServerPath string)
TemplierRestartingServer prints the server restart trigger log to console.
func TemplierStarted ¶
func TemplierStarted(baseURL string)
TemplierStarted prints the Templiér started log to console.
Types ¶
Click to show internal directories.
Click to hide internal directories.