MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / Logger

Method Logger

api/pkg/di/container.go:230–236  ·  view source on GitHub ↗

Logger creates a new instance of telemetry.Logger

(skipFrameCount ...int)

Source from the content-addressed store, hash-verified

228
229// Logger creates a new instance of telemetry.Logger
230func (container *Container) Logger(skipFrameCount ...int) telemetry.Logger {
231 container.logger.Debug("creating telemetry.Logger")
232 if len(skipFrameCount) > 0 {
233 return logger(skipFrameCount[0])
234 }
235 return logger(3)
236}
237
238// GormLogger creates a new instance of gormLogger.Interface
239func (container *Container) GormLogger() gormLogger.Interface {

Callers 15

mainFunction · 0.95
AppMethod · 0.95
PhoneAPIKeyMiddlewareMethod · 0.95
GormLoggerMethod · 0.95
EmulatorEventsQueueMethod · 0.95
CloudTaskEventsQueueMethod · 0.95
FCMClientMethod · 0.95
TracerMethod · 0.95

Calls 2

loggerFunction · 0.85
DebugMethod · 0.65

Tested by

no test coverage detected