|
|
|
@ -51,7 +51,7 @@ type (
|
|
|
|
|
|
|
|
|
|
|
|
func NewFmtText(options ...FmtTextFnc) *FmtText {
|
|
|
|
func NewFmtText(options ...FmtTextFnc) *FmtText {
|
|
|
|
return applyFmtTextOptions(&FmtText{
|
|
|
|
return applyFmtTextOptions(&FmtText{
|
|
|
|
FmtTextAtt: FmtTextAttIndent | FmtTextAttVerbose | FmtTextAttTrace,
|
|
|
|
FmtTextAtt: FmtTextAttIndent | FmtTextAttVerbose | FmtTextAttTrace | FmtTextAttColors,
|
|
|
|
indent : " ",
|
|
|
|
indent : " ",
|
|
|
|
traceFmt : formatStackTrace ,
|
|
|
|
traceFmt : formatStackTrace ,
|
|
|
|
}, options...) }
|
|
|
|
}, options...) }
|
|
|
|
|