Documentation ¶
Index ¶
- func NewConsoleLogger() (gologcore.ILogDestination, error)
- func NewFileLogger(configuration FileLoggerConfiguration) (gologcore.ILogDestination, error)
- func NewMongoDBLogger(configuration MongoDBLoggerConfiguration) (gologcore.ILogDestination, error)
- func NewRabbitMQLogger(configuration RabbitMQLoggerConfiguration) (gologcore.ILogDestination, error)
- type ConsoleLogger
- type FileLogger
- type FileLoggerConfiguration
- type MongoDBLogger
- type MongoDBLoggerConfiguration
- type RabbitMQLogger
- type RabbitMQLoggerConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConsoleLogger ¶ added in v0.0.3
func NewConsoleLogger() (gologcore.ILogDestination, error)
func NewFileLogger ¶ added in v0.0.3
func NewFileLogger(configuration FileLoggerConfiguration) (gologcore.ILogDestination, error)
func NewMongoDBLogger ¶
func NewMongoDBLogger(configuration MongoDBLoggerConfiguration) (gologcore.ILogDestination, error)
func NewRabbitMQLogger ¶ added in v0.0.3
func NewRabbitMQLogger(configuration RabbitMQLoggerConfiguration) (gologcore.ILogDestination, error)
Types ¶
type ConsoleLogger ¶ added in v0.0.3
type ConsoleLogger struct{}
func (*ConsoleLogger) Close ¶ added in v0.0.3
func (consoleLogger *ConsoleLogger) Close() error
type FileLogger ¶ added in v0.0.3
type FileLogger struct {
// contains filtered or unexported fields
}
func (*FileLogger) Close ¶ added in v0.0.3
func (fileLogger *FileLogger) Close() error
type FileLoggerConfiguration ¶ added in v0.0.3
type FileLoggerConfiguration struct {
FileName string
}
type MongoDBLogger ¶
type MongoDBLogger struct {
// contains filtered or unexported fields
}
func (*MongoDBLogger) Close ¶
func (mongoDBLogger *MongoDBLogger) Close() error
type RabbitMQLogger ¶
type RabbitMQLogger struct {
// contains filtered or unexported fields
}
func (*RabbitMQLogger) Close ¶
func (rabbitMQLogger *RabbitMQLogger) Close() error
Click to show internal directories.
Click to hide internal directories.