Documentation
¶
Index ¶
- type JournaldLog
- func (l *JournaldLog) Panic(message ...any)
- func (l *JournaldLog) Print(message ...any)
- func (l *JournaldLog) PrintAlert(message ...any)
- func (l *JournaldLog) PrintCritical(message ...any)
- func (l *JournaldLog) PrintDebug(message ...any)
- func (l *JournaldLog) PrintEmergancy(message ...any)
- func (l *JournaldLog) PrintError(message ...any)
- func (l *JournaldLog) PrintInfo(message ...any)
- func (l *JournaldLog) PrintNotice(message ...any)
- func (l *JournaldLog) PrintWarning(message ...any)
- func (l *JournaldLog) Println(message ...any)
- type WriterLogger
- func (l *WriterLogger) Panic(message ...any)
- func (l *WriterLogger) Print(message ...any)
- func (l *WriterLogger) PrintAlert(message ...any)
- func (l *WriterLogger) PrintCritical(message ...any)
- func (l *WriterLogger) PrintEmergancy(message ...any)
- func (l *WriterLogger) PrintError(message ...any)
- func (l *WriterLogger) PrintInfo(message ...any)
- func (l *WriterLogger) PrintNotice(message ...any)
- func (l *WriterLogger) PrintWarning(message ...any)
- func (l *WriterLogger) Println(message ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JournaldLog ¶
type JournaldLog struct {
}
The JournaldLog struct. This will implement services.Logger.
func NewJournaldLog ¶
func NewJournaldLog() *JournaldLog
NewJournaldLog will create a new JournaldLog and return the address of it.
func (*JournaldLog) Panic ¶
func (l *JournaldLog) Panic(message ...any)
func (*JournaldLog) Print ¶
func (l *JournaldLog) Print(message ...any)
func (*JournaldLog) PrintAlert ¶
func (l *JournaldLog) PrintAlert(message ...any)
func (*JournaldLog) PrintCritical ¶
func (l *JournaldLog) PrintCritical(message ...any)
func (*JournaldLog) PrintDebug ¶
func (l *JournaldLog) PrintDebug(message ...any)
func (*JournaldLog) PrintEmergancy ¶
func (l *JournaldLog) PrintEmergancy(message ...any)
func (*JournaldLog) PrintError ¶
func (l *JournaldLog) PrintError(message ...any)
func (*JournaldLog) PrintInfo ¶
func (l *JournaldLog) PrintInfo(message ...any)
func (*JournaldLog) PrintNotice ¶
func (l *JournaldLog) PrintNotice(message ...any)
func (*JournaldLog) PrintWarning ¶
func (l *JournaldLog) PrintWarning(message ...any)
func (*JournaldLog) Println ¶
func (l *JournaldLog) Println(message ...any)
type WriterLogger ¶
type WriterLogger struct {
// contains filtered or unexported fields
}
func NewWriterLogger ¶
func NewWriterLogger(writer io.Writer) *WriterLogger
func (*WriterLogger) Panic ¶
func (l *WriterLogger) Panic(message ...any)
func (*WriterLogger) Print ¶
func (l *WriterLogger) Print(message ...any)
func (*WriterLogger) PrintAlert ¶
func (l *WriterLogger) PrintAlert(message ...any)
func (*WriterLogger) PrintCritical ¶
func (l *WriterLogger) PrintCritical(message ...any)
func (*WriterLogger) PrintEmergancy ¶
func (l *WriterLogger) PrintEmergancy(message ...any)
func (*WriterLogger) PrintError ¶
func (l *WriterLogger) PrintError(message ...any)
func (*WriterLogger) PrintInfo ¶
func (l *WriterLogger) PrintInfo(message ...any)
func (*WriterLogger) PrintNotice ¶
func (l *WriterLogger) PrintNotice(message ...any)
func (*WriterLogger) PrintWarning ¶
func (l *WriterLogger) PrintWarning(message ...any)
func (*WriterLogger) Println ¶
func (l *WriterLogger) Println(message ...any)
Click to show internal directories.
Click to hide internal directories.