ErrorLogs extension
An extension on Object to add logging methods for convenience.
- on
Methods
-
logError(
String? text, {String? error, StackTrace? stackTrace, String? name}) → void -
Available on Object, provided by the ErrorLogs extension
Logs an error with the specifiederror,text,stackTrace, andfileName. -
logMessage(
{String? text, String? name}) → void -
Available on Object, provided by the ErrorLogs extension
Logs a message with the specifiedtextandfileName. -
logSuccess(
String? text, {String? fileName}) → void -
Available on Object, provided by the ErrorLogs extension
Logs a success message with the specifiedtextandfileName. -
logWarning(
String? text, {String? error, StackTrace? stackTrace, String? name, String? fileName}) → void -
Available on Object, provided by the ErrorLogs extension
Logs a warning with the specifiederror,text,stackTrace, andfileName.