util

package
v2.12.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const TimeFormat = "2006-01-02_15-04-05"

TimeFormat is used to name log files generated by render step

Variables

This section is empty.

Functions

func WithLogFile

func WithLogFile(filename string, out io.Writer, muted Muted) (io.Writer, func(), error)

WithLogFile returns a file to write the render output to, and a function to be executed after the render step is complete.

Types

type Muted

type Muted interface {
	MuteRender() bool
}

Jump to

Keyboard shortcuts

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