package
0.1.4
Repository: https://github.com/tucats/gopackages.git
Documentation: pkg.go.dev

# Functions

Active enables or disables a logger.
Return a comma-separated list of the active loggers.
Return the path of the current log file being written to.
DefineLogger creates a new logger that can be used by the program.
Determine if a given logger is active.
IsConsolePipe detects if the console (stdin) is a pipe versus a real device.
Log displays a message if the selected log class is enabled.
Get the name of a given logger class.
For a given logger name, find the class ID.
LoggerNames returns a string array with the names of all defined loggers.
No description provided by the author
Prompt prints a prompt string, and gets input from the console.
PromptPassword prompts the user with a string prompt, and then allows the user to enter confidential information such as a password without it being echoed on the terminal.
No description provided by the author
Roll over the open log.
Save the current (last) log file to the archive name with the timestamp of when the log was initialized.
Say displays a message to the user unless we are in "quiet" mode.
No description provided by the author
WriteLog displays a message to the log, regardless of whether the logger is enabled.

# Constants

Classes of loggers go here.
Classes of loggers go here.
Classes of loggers go here.
Classes of loggers go here.
Classes of loggers go here.
Classes of loggers go here.
Classes of loggers go here.
DefaultTableFormat means use whatever the default is that may have been set by the global option --output-type, etc.
Classes of loggers go here.
Classes of loggers go here.
JSONTableFormat indicates the output format should be machine-readable JSON.
JSONIndentedTableFormat indicates JSON output that is indented for readability.
Formatted output types for data more complex than individual messages, such as the format for tabular data output.
Formatted output types for data more complex than individual messages, such as the format for tabular data output.
Formatted output types for data more complex than individual messages, such as the format for tabular data output.
Classes of loggers go here.
Classes of loggers go here.
Classes of loggers go here.
Classes of loggers go here.
Classes of loggers go here.
Classes of loggers go here.
Classes of loggers go here.
TextTableFormat indicates the output format should be human-readable text.
Classes of loggers go here.
Classes of loggers go here.
Classes of loggers go here.

# Variables

LogRetainCount is the number of roll-over log versions to keep in the logging directory.
LogTimeStampFormat stores the format string used to produce log messages, using the Go standard format string.
OutputFormat is the default output format if not overridden by a global option or explicit call from the user.
QuietMode determines if optional messaging is performed.