Documentation ¶
Index ¶
- Variables
- func Init(debug bool)
- type LogString
- func (l *LogString) AddF(format string, args ...interface{})
- func (l *LogString) AddS(s string)
- func (l *LogString) AddSR(s string)
- func (l *LogString) BCon(w int)
- func (l *LogString) Box(w int) string
- func (l *LogString) BoxC(w int) string
- func (l *LogString) Color(color, s string) string
- func (l *LogString) Raw() string
- type Password
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Log = logging.MustGetLogger(modulename) LogPrinter *logPrinter )
==============================================================================================================================
LOGS
==============================================================================================================================
Functions ¶
Types ¶
type LogString ¶
type LogString struct {
// contains filtered or unexported fields
}
LogString is used to "box" object representations.
func NewLogString ¶
func NewLogString() *LogString
NewLogString creates a new LogString, and initializes color printing.
func (*LogString) BCon ¶
BCon sends a LogString to the log printer queue (see l.Con() and l.run() below).
func (*LogString) Box ¶
Box draws a box around the LogString with the specified line width, with a leading line return.
func (*LogString) BoxC ¶
BoxC draws a box around the LogString with the specified line width, without a leading line return.
Click to show internal directories.
Click to hide internal directories.