Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxStreamRedisQueueSize = 1000 StreamRedisQueueTTL = 60 )
View Source
const (
MaxRedisQueueSize = 1000
)
Variables ¶
This section is empty.
Functions ¶
func ConfigureLogging ¶
ConfigureLogging attachs the correct message handler on top the process manager from the configurations
Types ¶
type ConsoleLogger ¶
type ConsoleLogger struct {
// contains filtered or unexported fields
}
ConsoleLogger Message message to the console
func (*ConsoleLogger) LogRecord ¶
func (logger *ConsoleLogger) LogRecord(record *LogRecord)
type Logger ¶
type Logger interface {
LogRecord(record *LogRecord)
}
Logger interface
func NewConsoleLogger ¶
NewConsoleLogger creates a simple console logger that prints Message messages to Console.
func NewLedisLogger ¶
NewRedisLogger creates new redis logger handler
Click to show internal directories.
Click to hide internal directories.