Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallStackHook ¶
type CallStackHook struct { }
func NewCallStackHook ¶
func NewCallStackHook() *CallStackHook
func (*CallStackHook) Levels ¶
func (hook *CallStackHook) Levels() []logrus.Level
type LogPrinterHook ¶
type LogPrinterHook struct {
// contains filtered or unexported fields
}
func NewLogPrinterForErrorHook ¶
func NewLogPrinterForErrorHook() *LogPrinterHook
func NewLogPrinterHook ¶
func NewLogPrinterHook() *LogPrinterHook
func (*LogPrinterHook) Levels ¶
func (hook *LogPrinterHook) Levels() []logrus.Level
type LogWriterHook ¶
type LogWriterHook struct {
// contains filtered or unexported fields
}
func NewLogWriterForErrorHook ¶
func NewLogWriterForErrorHook(p string) *LogWriterHook
func NewLogWriterHook ¶
func NewLogWriterHook(p string) *LogWriterHook
func (*LogWriterHook) Levels ¶
func (hook *LogWriterHook) Levels() []logrus.Level
type ProjectHook ¶
type ProjectHook struct {
Name string
}
func NewProjectHook ¶
func NewProjectHook(name string) *ProjectHook
func (*ProjectHook) Levels ¶
func (hook *ProjectHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.