{"modulePath":"github.com/AliceO2Group/Control","version":"v1.51.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package infologger\n\nPackage infologger provides InfoLogger protocol implementation for integration with the ALICE InfoLogger logging system.\n\n## Constants\n\n```go\nconst (\n\tLevel     = \"level\"\n\tErrorCode = \"errcode\"\n\tFacility  = \"facility\"\n\tRole      = \"rolename\"\n\tSystem    = \"system\"\n\tDetector  = \"detector\"\n\tPartition = \"partition\"\n\tRun       = \"run\"\n)\n```\n\n```go\nconst (\n\tIL_Ops     = 1\n\tIL_Support = 6\n\tIL_Devel   = 11\n\tIL_Trace   = 21\n)\n```\n\n```go\nconst INFOLOGGER_MAX_MESSAGE_SIZE = 1024\n```\n\n## Variables\n\n```go\nvar Fields = map[string]bool{\n\tLevel:     true,\n\tErrorCode: true,\n\tFacility:  true,\n\tRole:      true,\n\tSystem:    true,\n\tDetector:  true,\n\tPartition: true,\n\tRun:       true,\n}\n```\n\n```go\nvar (\n\tPid string\n)\n```\n\n## Types\n\n```go\ntype DirectHook struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewDirectHook(defaultSystem string, defaultFacility string, levelsToLog []logrus.Level) (*DirectHook, error)\n```\n\n```go\nfunc NewDirectHookWithRole(defaultSystem string, defaultFacility string, defaultRole string, levelsToLog []logrus.Level) (*DirectHook, error)\n```\n\n```go\nfunc (h *DirectHook) Fire(e *logrus.Entry) error\n```\n\n```go\nfunc (h *DirectHook) Levels() []logrus.Level\n```\n\n","path":"github.com/AliceO2Group/Control/common/logger/infologger","name":"infologger","synopsis":"Package infologger provides InfoLogger protocol implementation for integration with the ALICE InfoLogger logging system.","isRedistributable":true}
