{"modulePath":"github.com/gitopia/gitopia-mcp-server","version":"v0.1.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package logging\n\n## Functions\n\n```go\nfunc ConfigureLogger(cfg Config)\n```\nConfigureLogger sets up the logger based on the provided configuration.\n\n```go\nfunc Debugf(format string, args ...interface{})\n```\nDebugf logs a message at level Debug on the standard logger.\n\n```go\nfunc Errorf(format string, args ...interface{})\n```\nErrorf logs a message at level Error on the standard logger.\n\n```go\nfunc Fatal(args ...interface{})\n```\nFatal logs a message at level Fatal on the standard logger.\n\n```go\nfunc Fatalf(format string, args ...interface{})\n```\nFatalf logs a message at level Fatal on the standard logger.\n\n```go\nfunc Infof(format string, args ...interface{})\n```\nInfof logs a message at level Info on the standard logger.\n\n```go\nfunc Warnf(format string, args ...interface{})\n```\nWarnf logs a message at level Warn on the standard logger.\n\n```go\nfunc WithError(err error) *logrus.Entry\n```\nWithError creates a new log entry with the given error.\n\n```go\nfunc WithField(key string, value interface{}) *logrus.Entry\n```\nWithField creates a new log entry with the given key and value.\n\n```go\nfunc WithFields(fields logrus.Fields) *logrus.Entry\n```\nWithFields creates a new log entry with the given fields.\n\n## Types\n\n```go\ntype Config struct {\n\tLevel string `json:\"level\" yaml:\"level\"`\n}\n```\nConfig represents the logging configuration. This is a subset of the main config to avoid circular dependencies.\n\n","path":"github.com/gitopia/gitopia-mcp-server/internal/logging","name":"logging","synopsis":"","isRedistributable":true}
