error static method
Implementation
static void error(String message,
{dynamic error, StackTrace? stackTrace}) {
if (!isEnabled) return;
print('[CloudMedia ERROR] $message');
if (error != null) print(' ↳ $error');
if (stackTrace != null) print(' ↳ $stackTrace');
}