single property
LogSwitcherInterface
single
Types of logs
The log tamplate has borders in top, right, left and bottom.
Use enums to separate information from a log.
The normal sequence is a header first, then an indeterminate number of middle and ending with bottom.
Using only header and ending with bottom in the sequence is totaly okay to.
If you are using just a single log, use the single.
This is an overview of which borders each enum contains:
- header will have
top, left
andright
border and don't have abottom
border. - bottom will have
bottom, left
andright
border and don't have atop
border. - middle will have only
left
andright
border and don't have atop
orbottom
border. - single will have
all border
directions and is stand alone, it's not meant to be used together like the others.
Implementation
static LogSwitcherInterface get single =>
LogSwitcherInterface(LogBorderType.single);