arachne_logging

package
v0.0.0-...-713cbbb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2023 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLogger

func InitLogger(addSource bool, LogLevel string, LogFilePath string, LogFileMaxMB int, LogFileMaxBackups int, LogFileMaxAge int, LogFileCompress bool)

InitLogger initializes the logger with the provided log level

Types

type SlogWriter

type SlogWriter struct {
	Logger *slog.Logger
}

func (*SlogWriter) Write

func (sw *SlogWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL