logger

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Copyright © 2024 Daniele Rondina <geaaru@macaronios.org> 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 SshCLogger

type SshCLogger struct {
	Config *specs.SshComposeConfig
	Logger *zap.Logger
	Aurora aurora.Aurora
}

func GetDefaultLogger

func GetDefaultLogger() *SshCLogger

func NewSshCLogger

func NewSshCLogger(config *specs.SshComposeConfig) *SshCLogger

func (*SshCLogger) Debug

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

func (*SshCLogger) DebugC

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

func (*SshCLogger) Error

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

func (*SshCLogger) Fatal

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

func (*SshCLogger) GetAurora

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

func (*SshCLogger) Info

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

func (*SshCLogger) InfoC

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

func (*SshCLogger) InitLogger2File

func (l *SshCLogger) InitLogger2File() error

func (*SshCLogger) Msg

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

func (*SshCLogger) SetAsDefault

func (l *SshCLogger) SetAsDefault()

func (*SshCLogger) Warning

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

Jump to

Keyboard shortcuts

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