PrintingLogsTree class
- Inheritance
-
- Object
- FormattedOutputLogsTree
- PrintingLogsTree
- Implementers
Constructors
- PrintingLogsTree({int maxLineSize = 800, int stacktraceLoggingThreshold = 900, LoggerOutput loggerOutput = const CorePrinterLoggerOutput()})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPlanted → bool
-
no setterinherited
- loggerOutput → LoggerOutput
-
final
- maxLineSize → int
-
Max limit that a log can reach to start dividing it into multiple chunks
avoiding them to be cut by android log
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackIndex → int
-
finalinherited
- stacktraceLoggingThreshold → int
-
Value of
level.value
>= this will allow print of stacktracefinal
Methods
-
log(
LogRecord record) → void -
Act on the log
record
withinfo
.inherited -
logger(
String messageText, String objectText, String? errorLabel, FormattedStacktrace stacktrace, LogRecord record) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onPlant(
StreamSubscription< LogRecord> ? subscription) → void -
Attach this logging mechanism to a Manager.
inherited
-
onRecord(
LogRecord record) → void -
Listener to records of log streams.
inherited
-
onRemove(
) → void -
De-attach this logging mechanism from a Manager.
inherited
-
printSingleLog(
String messageText, LogRecord record) → void -
toString(
) → String -
A string representation of this object.
inherited
-
willLogStackTrace(
Level level) → bool -
inherited
-
writeInBuffer(
StringBuffer buffer, String leading, String? text) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited