DescopeLogger class
The DescopeLogger class can be used to customize logging functionality in the Descope SDK.
The default behavior is for log messages to be written to the standard output using
the print()
function.
You can also customize how logging functions in the Descope SDK by creating a subclass of DescopeLogger and overriding the DescopeLogger.output method. See the documentation for that method for more details.
Constructors
- DescopeLogger({int level = debug})
-
Creates a new DescopeLogger object. Log level defaults to
debug
Properties
Methods
-
log(
{required int level, required String message, List values = const []}) → void - Called by other code in the Descope SDK to output log messages.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
output(
{required int level, required String message, required List debug}) → void - Formats the log message and prints it.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited