logger

package
v2.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogLevelFromParentSSHProcess

func LogLevelFromParentSSHProcess() (zapcore.Level, error)

LogLevelFromParentSSHProcess inspects parent `ssh` process for eventual passed `-v` flags.

func MustLogLevel

func MustLogLevel(debug, verbose bool) zapcore.Level

MustLogLevel returns a log level based on both user input and parent SSH process

Types

This section is empty.

Jump to

Keyboard shortcuts

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