logger

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2025 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Copyright © 2024 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MarkDevkitLogger

type MarkDevkitLogger struct {
	Config *specs.MarkDevkitConfig
	Logger *zap.Logger
	Aurora aurora.Aurora
}

func GetDefaultLogger

func GetDefaultLogger() *MarkDevkitLogger

func NewMarkDevkitLogger

func NewMarkDevkitLogger(config *specs.MarkDevkitConfig) *MarkDevkitLogger

func (*MarkDevkitLogger) Debug

func (l *MarkDevkitLogger) Debug(mess ...interface{})

func (*MarkDevkitLogger) DebugC

func (l *MarkDevkitLogger) DebugC(mess ...interface{})

func (*MarkDevkitLogger) Error

func (l *MarkDevkitLogger) Error(mess ...interface{})

func (*MarkDevkitLogger) Fatal

func (l *MarkDevkitLogger) Fatal(mess ...interface{})

func (*MarkDevkitLogger) GetAurora

func (l *MarkDevkitLogger) GetAurora() aurora.Aurora

func (*MarkDevkitLogger) Info

func (l *MarkDevkitLogger) Info(mess ...interface{})

func (*MarkDevkitLogger) InfoC

func (l *MarkDevkitLogger) InfoC(mess ...interface{})

func (*MarkDevkitLogger) InitLogger2File

func (l *MarkDevkitLogger) InitLogger2File() error

func (*MarkDevkitLogger) Msg

func (l *MarkDevkitLogger) Msg(level string, withoutColor, ln bool, msg ...interface{})

func (*MarkDevkitLogger) SetAsDefault

func (l *MarkDevkitLogger) SetAsDefault()

func (*MarkDevkitLogger) Warning

func (l *MarkDevkitLogger) Warning(mess ...interface{})

Jump to

Keyboard shortcuts

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