traceConfig function
void
traceConfig({})
Configure trace outputs for debug console. showLinenumber
only works if
showFilename
is true. tagPaddingCount
should be applied manually if you
wanna have a cleaner tabulated view.
Implementation
void traceConfig({
String? customTag,
int tagPaddingCount = 0,
String tagPaddingChar = ' ',
bool showFilename = false,
bool showLinenumber = false,
bool showClassname = false,
bool showMethodname = false,
bool showOutsideTag = false,
String argsSeparator = ', ',
}) {
_tagPaddingCount = tagPaddingCount;
_tagPaddingChar = tagPaddingChar;
_customTag = customTag ?? 'graphx™🌀';
_showFilename = showFilename;
_showLinenumber = showLinenumber;
_showClassname = showClassname;
_showMethodname = showMethodname;
_showOutsideTag = showOutsideTag;
_separator = argsSeparator;
_useStack = _showFilename || _showClassname || _showMethodname;
}