Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilesystemHook ¶
type FilesystemHook struct {
// contains filtered or unexported fields
}
func New ¶
func New(path string) (*FilesystemHook, error)
func (*FilesystemHook) Fire ¶
func (h *FilesystemHook) Fire(entry *logrus.Entry) error
Fire serializes and writes the log entry to file.
func (*FilesystemHook) Levels ¶
func (h *FilesystemHook) Levels() []logrus.Level
Levels returns the available logging levels.
Click to show internal directories.
Click to hide internal directories.