package
1.0.0
Repository: https://github.com/couchbase/tools-common.git
Documentation: pkg.go.dev

# Functions

MaskAndUserTagArguments is a convenient way of calling both UserTagArguments and MaskArguments on the given data.
No description provided by the author
MaskArguments returns a new slice with the values of the flags given in flagsToMask replaced by a fix number of *.
No description provided by the author
NewWrappedLogger returns a WrappedLogger for a given inputted Logger.
UserTagArguments returns a new slice with the values for the flags given in flagsToTag surrounded by the <ud></ud> tags.
No description provided by the author

# Constants

LevelDebug includes fine-grained informational events that are the most useful to debug the library.
LevelError includes error events which may still allow the library to continue running.
LevelInfo includes informational messages that highlight the progress of events in the library at a course-grained level.
LevelPanic includes errors events which should lead to a panic.
LevelTrace is the most verbose log level including finer grained informational events than debug level.
LevelWarning includes expected but potentially harmful/interesting events.

# Structs

StdoutLogger is the standard output logger for printing all logs into the commandline.
WrappedLogger is the internally used Logger struct that implements Logger and defines varous methods for different levels of logging, eg: trace, debug, info, etc.

# Interfaces

Logger interface which allows applications to provide custom logger implementations.

# Type aliases

Level is a type alias which is used to indicate the verbosity of an log statement.