Documentation ¶
Overview ¶
Package console defines the logging console stream and console stream creation strategy to be integrated into the logging package stream factory instance.
Index ¶
Constants ¶
View Source
const ( // ID defines the application container registration string for the // console stream strategy. ID = stream.ID + ".console" )
View Source
const ( // Type defines the value to be used to declare a // console Log stream type. Type = "console" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct{}
Provider defines the slate.config module service provider to be used on the application initialization to register the config service.
type StreamStrategy ¶
type StreamStrategy struct {
// contains filtered or unexported fields
}
StreamStrategy defines a console log stream generation strategy.
func NewStreamStrategy ¶
func NewStreamStrategy( formatterFactory log.IFormatterFactory, ) (*StreamStrategy, error)
NewStreamStrategy generates a new console log stream generation strategy instance.
Click to show internal directories.
Click to hide internal directories.