WELogger class
A simple logging utility for the WebEngage Notification Inbox plugin.
Provides verbose, warning, and error level logging that can be enabled or disabled at runtime. Logs are only printed in debug mode.
Constructors
- WELogger()
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
-
e(
String text) → void - Logs an error-level message.
-
enableLogs(
bool enable) → void - Enables or disables logging output.
-
getFormattedText(
dynamic text) → String - Formats the log message with the WebEngage-Inbox prefix.
-
v(
String text) → void - Logs a verbose-level message.
-
w(
String text) → void - Logs a warning-level message.