log

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package log contains the singleton object and helper functions for facilitating logging within the syft library.

Index

Constants

This section is empty.

Variables

View Source
var Log logger.Logger = &nopLogger{}

Log is the singleton used to facilitate logging internally within syft

Functions

func Debug

func Debug(args ...interface{})

Debug logs the given arguments at the debug logging level.

func Debugf

func Debugf(format string, args ...interface{})

Debugf takes a formatted template string and template arguments for the debug logging level.

func Error

func Error(args ...interface{})

Error logs the given arguments at the error logging level.

func Errorf

func Errorf(format string, args ...interface{})

Errorf takes a formatted template string and template arguments for the error logging level.

func Info

func Info(args ...interface{})

Info logs the given arguments at the info logging level.

func Infof

func Infof(format string, args ...interface{})

Infof takes a formatted template string and template arguments for the info logging level.

func Warn

func Warn(args ...interface{})

Warn logs the given arguments at the warning logging level.

func Warnf

func Warnf(format string, args ...interface{})

Warnf takes a formatted template string and template arguments for the warning logging level.

Types

This section is empty.

Jump to

Keyboard shortcuts

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