SemiLogStyleData class

Your styles of logger

Constructors

SemiLogStyleData({SemiLogStyle header = const SemiLogStyle(color: colored.ANSIStyles.lightGray), SemiLogStyle separator = const SemiLogStyle(color: colored.ANSIStyles.magenta), SemiLogStyle debug = const SemiLogStyle(), SemiLogStyle warning = const SemiLogStyle(color: colored.ANSIStyles.yellow), SemiLogStyle error = const SemiLogStyle(color: colored.ANSIStyles.red), SemiLogStyle info = const SemiLogStyle(), SemiLogStyle fail = const SemiLogStyle(color: colored.ANSIStyles.lightRed), SemiLogStyle success = const SemiLogStyle(color: colored.ANSIStyles.green)})
const

Properties

debug SemiLogStyle
final
error SemiLogStyle
final
fail SemiLogStyle
final
hashCode int
The hash code for this object.
no setterinherited
final
info SemiLogStyle
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
separator SemiLogStyle
final
success SemiLogStyle
final
warning SemiLogStyle
final

Methods

apply(String text, SemiLogLevel level) String
return your string with code style
getStyle(SemiLogLevel level) SemiLogStyle
return your style with level
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited