| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 | package logimport (	"context"	"os"	"time")var std ContextLoggerfunc init() {	std = NewDefaultFactory(		context.Background(),		Formatter{BaseTime: time.Now()},		os.Stderr,		"",		nil,		false,	).Logger()}func StdLogger() ContextLogger {	return std}func SetStdLogger(logger ContextLogger) {	std = logger}func Trace(args ...any) {	std.Trace(args...)}func Debug(args ...any) {	std.Debug(args...)}func Info(args ...any) {	std.Info(args...)}func Warn(args ...any) {	std.Warn(args...)}func Error(args ...any) {	std.Error(args...)}func Fatal(args ...any) {	std.Fatal(args...)}func Panic(args ...any) {	std.Panic(args...)}func TraceContext(ctx context.Context, args ...any) {	std.TraceContext(ctx, args...)}func DebugContext(ctx context.Context, args ...any) {	std.DebugContext(ctx, args...)}func InfoContext(ctx context.Context, args ...any) {	std.InfoContext(ctx, args...)}func WarnContext(ctx context.Context, args ...any) {	std.WarnContext(ctx, args...)}func ErrorContext(ctx context.Context, args ...any) {	std.ErrorContext(ctx, args...)}func FatalContext(ctx context.Context, args ...any) {	std.FatalContext(ctx, args...)}func PanicContext(ctx context.Context, args ...any) {	std.PanicContext(ctx, args...)}
 |