SandLog class abstract

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

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

Static Methods

error({String? text, Map<String, dynamic>? object, String header = 'An error has occurred !', LogColor color = LogColor.red, String errorIcon = '⛔'}) → void
A ready-made text log template for errors with default red color and ⛔ as the default errorIcon that has an optional header with the title of the error and the possibility to log a object.
info({String? text, Map<String, dynamic>? map, String header = 'Info:', LogColor color = LogColor.white, String infoIcon = '*️⃣'}) → void
logTemplateBuilder(List<LogModel> logModels) → void
Use this method as tempalte to build your custom log with the combination of LogModel
success({String? text, Map<String, dynamic>? map, String header = 'Uhul! Success! No bugs.', LogColor color = LogColor.green, String warningIcon = '✅'}) → void
warning({String? text, Map<String, dynamic>? map, String header = 'Warning! be alert with this:', LogColor color = LogColor.yellow, String warningIcon = '🔔'}) → void