Documentation ¶
Overview ¶
Package out provides output functionality, including verboseness level and normal/error messages support.
Index ¶
- type O
- func (o O) MsgStdErr(format string, args ...interface{})
- func (o O) MsgStdErrV(format string, args ...interface{})
- func (o O) MsgStdErrV0(format string, args ...interface{})
- func (o O) MsgStdErrV1(format string, args ...interface{})
- func (o O) MsgStdErrV2(format string, args ...interface{})
- func (o O) MsgStdErrV3(format string, args ...interface{})
- func (o O) MsgStdErrVV(format string, args ...interface{})
- func (o O) MsgStdErrVVV(format string, args ...interface{})
- func (o O) MsgStdOut(format string, args ...interface{})
- func (o O) MsgStdOutV(format string, args ...interface{})
- func (o O) MsgStdOutV0(format string, args ...interface{})
- func (o O) MsgStdOutV1(format string, args ...interface{})
- func (o O) MsgStdOutV2(format string, args ...interface{})
- func (o O) MsgStdOutV3(format string, args ...interface{})
- func (o O) MsgStdOutVV(format string, args ...interface{})
- func (o O) MsgStdOutVVV(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type O ¶
type O struct {
// contains filtered or unexported fields
}
O represents an output instance
func New ¶
New creates a new output with the given verboseness. Any output messages with a verboseness bigger than the given verboseness will be ignored.
func (O) MsgStdErrV ¶
MsgStdErrV Send a message to stderr Writer output with verboseness level 1 or higher
func (O) MsgStdErrV0 ¶
MsgStdErrV0 Send a message to stderr Writer output only with no verboseness
func (O) MsgStdErrV1 ¶
MsgStdErrV1 Send a message to stderr Writer output only with verboseness level 1
func (O) MsgStdErrV2 ¶
MsgStdErrV2 Send a message to stderr Writer output only with verboseness level 2
func (O) MsgStdErrV3 ¶
MsgStdErrV3 Send a message to stderr Writer output only with verboseness level 3
func (O) MsgStdErrVV ¶
MsgStdErrVV Send a message to stderr Writer output with verboseness level 2 or higher
func (O) MsgStdErrVVV ¶
MsgStdErrVVV Send a message to stderr Writer output with verboseness level 3
func (O) MsgStdOutV ¶
MsgStdOutV Send a message to stdout Writer output with verboseness level 1 or higher
func (O) MsgStdOutV0 ¶
MsgStdOutV0 Send a message to stdout Writer output only with no verboseness
func (O) MsgStdOutV1 ¶
MsgStdOutV1 Send a message to stdout Writer output only with verboseness level 1
func (O) MsgStdOutV2 ¶
MsgStdOutV2 Send a message to stdout Writer output only with verboseness level 2
func (O) MsgStdOutV3 ¶
MsgStdOutV3 Send a message to stdout Writer output only with verboseness level 3
func (O) MsgStdOutVV ¶
MsgStdOutVV Send a message to stdout Writer output with verboseness level 2 or higher
func (O) MsgStdOutVVV ¶
MsgStdOutVVV Send a message to stdout Writer output with verboseness level 3 or higher