d method
Log a debug message
Use includeTrace to include the stack trace in the log. Note that this will use more memory, and should be used only for debugging purposes
Implementation
void d(
/// Message to log. Can be any type
/// If the message does not have a string representation, it will be printed as is
dynamic message,
{
/// Set to true to include the stack trace in the log. Note that this will use
/// more memory, and should be used only for debugging purposes
bool includeTrace = false}) {
StackTrace trace = StackTrace.empty;
if (includeTrace) {
trace = StackTrace.current;
}
_createLog(LogLevel.debug, message, trace);
}