logger

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package logger provides two log.Logger emitting progress status and warning information.

Index

Constants

This section is empty.

Variables

View Source
var ProgressLogger = log.New(os.Stdout, "webrender.progress: ", log.LstdFlags)

ProgressLogger logs the main steps of the HTLM rendering. It is purely informative and may be turned off safely.

View Source
var WarningLogger = log.New(os.Stdout, "webrender.warning: ", log.Lmsgprefix)

WarningLogger emits a warning for each non fatal error, like unsupported CSS properties, font loading or URL resolutions errors. It can be turned off safely, but it is a good source of information if the rendering seems wrong.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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