BurtLogger class

Logs messages to the console and also sends a log to the dashboard.

Constructors

BurtLogger({RoverSocket? socket})
Creates a logger capable of sending network messages over the given socket.

Properties

device → Device?
The device that's sending these logs.
no setter
hashCode → int
The hash code for this object.
no setterinherited
logger → Logger
The default console logger.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
socket ↔ RoverSocket?
The socket to send messages over.
getter/setter pair

Methods

critical(String title, {String? body}) → void
Logs a critical message.
debug(String title, {String? body}) → void
Logs a debug message.
error(String title, {String? body}) → void
Logs an error.
getMessage(String title, String? body) → String
Formats a message with an optional body for more info.
info(String title, {String? body}) → void
Logs an info message.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
trace(String title, {String? body}) → void
Logs a trace message.
warning(String title, {String? body}) → void
Logs a warning.

Operators

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