tag v0.144.0 Tagger: imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> Changes with 0.144.0 ---------------- * customizations: drop `FsNode` interface as it is not used (#1490) * Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger * distro/rhel10/ami: unset authselect in ImageConfig (COMPOSER-2517) (#1469) * Author: Achilleas Koutsou, Reviewers: Brian C. Lane, Michael Vogt * manifest/os: immediately create directories (HMS-6043) (#1502) * Author: Simon de Vlieger, Reviewers: Achilleas Koutsou, Michael Vogt * osbuild: Add config to InsightsClientConfigStageOptions (#1503) * Author: rverdile, Reviewers: Michael Vogt, Sanne Raymaekers * refactor: replace logrus with stdlib log package (#1481) * Author: Lukáš Zapletal, Reviewers: Michael Vogt, Simon de Vlieger — Somewhere on the Internet, 2025-05-08
83 lines
1.5 KiB
Go
83 lines
1.5 KiB
Go
package olog
|
|
|
|
import "io"
|
|
|
|
// Print is a proxy for log.Print.
|
|
func Print(v ...any) {
|
|
Default().Print(v...)
|
|
}
|
|
|
|
// Printf is a proxy for log.Printf.
|
|
func Printf(format string, v ...any) {
|
|
Default().Printf(format, v...)
|
|
}
|
|
|
|
// Println is a proxy for log.Println.
|
|
func Println(v ...any) {
|
|
Default().Println(v...)
|
|
}
|
|
|
|
// Fatal is a proxy for log.Fatal.
|
|
func Fatal(v ...any) {
|
|
Default().Fatal(v...)
|
|
}
|
|
|
|
// Fatalf is a proxy for log.Fatalf.
|
|
func Fatalf(format string, v ...any) {
|
|
Default().Fatalf(format, v...)
|
|
}
|
|
|
|
// Fatalln is a proxy for log.Fatalln.
|
|
func Fatalln(v ...any) {
|
|
Default().Fatalln(v...)
|
|
}
|
|
|
|
// Panic is a proxy for log.Panic.
|
|
func Panic(v ...any) {
|
|
Default().Panic(v...)
|
|
}
|
|
|
|
// Panicf is a proxy for log.Panicf.
|
|
func Panicf(format string, v ...any) {
|
|
Default().Panicf(format, v...)
|
|
}
|
|
|
|
// Panicln is a proxy for log.Panicln.
|
|
func Panicln(v ...any) {
|
|
Default().Panicln(v...)
|
|
}
|
|
|
|
// Writer is a proxy for log.Writer.
|
|
func Writer() io.Writer {
|
|
return Default().Writer()
|
|
}
|
|
|
|
// Output is a proxy for log.Output.
|
|
func Output(calldepth int, s string) error {
|
|
return Default().Output(calldepth+1, s)
|
|
}
|
|
|
|
// SetOutput is a proxy for log.SetOutput.
|
|
func SetOutput(w io.Writer) {
|
|
Default().SetOutput(w)
|
|
}
|
|
|
|
// Flags is a proxy for log.Flags.
|
|
func Flags() int {
|
|
return Default().Flags()
|
|
}
|
|
|
|
// SetFlags is a proxy for log.SetFlags.
|
|
func SetFlags(flag int) {
|
|
Default().SetFlags(flag)
|
|
}
|
|
|
|
// Prefix is a proxy for log.Prefix.
|
|
func Prefix() string {
|
|
return Default().Prefix()
|
|
}
|
|
|
|
// SetPrefix is a proxy for log.SetPrefix.
|
|
func SetPrefix(prefix string) {
|
|
Default().SetPrefix(prefix)
|
|
}
|