PrepLog class
Use PrepLog to log the status of your application and help with debugging.
Constructors
- PrepLog.file(String _file)
-
The parameter must be in the form "<#f=>" or "<#f=XXX>" where XXX is the
current file name.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
alert(
dynamic message, String line, {OutputFn? output}) → void - Logs an alert 🟡
-
error(
dynamic message, String line, {OutputFn? output}) → void - Logs an error 🔴
-
info(
dynamic message, String line, {OutputFn? output}) → void - Logs an info ⚪
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
note(
dynamic message, String line, {OutputFn? output}) → void - Logs a note 🟢
-
toString(
) → String -
A string representation of this object.
inherited
-
warning(
dynamic message, String line, {OutputFn? output}) → void - Logs a warning 🟠
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
alertEntries
→ List<
String> -
All alert logs are added to this List.
final
-
allEntries
→ List<
String> -
All log entries are added to this List.
final
-
errorEntries
→ List<
String> -
All error logs are added to this List.
final
-
infoEntries
→ List<
String> -
All info logs are added to this List.
final
-
noteEntries
→ List<
String> -
All note logs are added to this List.
final
-
warningEntries
→ List<
String> -
All warning logs are added to this List.
final