jotrotate

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2020 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package jotrotate provides a pre-canned way to add jot logging with file rotation, along with command-line options for controlling it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAndSetup

func ParseAndSetup(cl *cmdline.CmdLine) []string

ParseAndSetup adds command-line options for controlling logging, parses the command line, then instantiates a rotator and attaches it to jot. Returns the remaining arguments that weren't used for option content.

Types

This section is empty.

Jump to

Keyboard shortcuts

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