logutil

package
v2.18.2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package logutil provides functions that can print to a logger. Any function in this package that takes in a *log.Logger can be passed nil to use the log package's default logger.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print

func Print(l *log.Logger, v ...interface{})

Print calls Print on a logger or the default logger. Arguments are handled in the manner of fmt.Print.

func Printf

func Printf(l *log.Logger, format string, v ...interface{})

Printf calls Printf on a logger or the default logger. Arguments are handled in the manner of fmt.Printf.

func Println

func Println(l *log.Logger, v ...interface{})

Println calls Println on a logger or the default logger. Arguments are handled in the manner of fmt.Println.

Types

This section is empty.

Jump to

Keyboard shortcuts

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