dicomlog

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package dicomlog performs logging for go-dicom or go-netdicom. It is currently just a thin wrapper around the standard log package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Level

func Level() int

Level returns the current log level. The larger the value, the more verbose. Thread safe.

func SetLevel

func SetLevel(l int)

SetLevel sets log verbosity. The larger the value, the more verbose. Setting it to -1 disables logging completely. Thread safe.

func Vprintf

func Vprintf(l int, format string, args ...interface{})

Vprintf is shorthand for "if level > Level { log.Printf(...) }".

Types

This section is empty.

Jump to

Keyboard shortcuts

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