Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecCloser ¶
ExecCloser write the logrus entry to the store and close the store
type FilterHandle ¶
FilterHandle a filter command
type Hook ¶
type Hook struct {
// contains filtered or unexported fields
}
Hook to send logs to a mongo database
func New ¶
func New(exec ExecCloser, opt ...Option) *Hook
New creates a hook to be added to an instance of logger
Click to show internal directories.
Click to hide internal directories.