MCPcopy
hub / github.com/pocketbase/pocketbase / Logger

Method Logger

core/base.go:360–366  ·  view source on GitHub ↗

Logger returns the default app logger. If the application is not bootstrapped yet, fallbacks to slog.Default().

()

Source from the content-addressed store, hash-verified

358//
359// If the application is not bootstrapped yet, fallbacks to slog.Default().
360func (app *BaseApp) Logger() *slog.Logger {
361 if app.logger == nil {
362 return slog.Default()
363 }
364
365 return app.logger
366}
367
368// TxInfo returns the transaction associated with the current app instance (if any).
369//

Callers 11

registerOTPHooksMethod · 0.95
BootstrapMethod · 0.95
RestartMethod · 0.95
registerBaseHooksMethod · 0.95
initLoggerMethod · 0.95
SyncRecordTableSchemaMethod · 0.95
TestBaseAppBootstrapFunction · 0.95
registerMFAHooksMethod · 0.95

Calls

no outgoing calls