debugLog static method
Executa debugPrint apenas se os logs de debug estiverem habilitados
message
Mensagem a ser logada
tag
Tag opcional para identificar a origem do log
Implementation
static void debugLog(String message, {String? tag}) {
final syncConfig = SyncConfigurator.provider;
if (syncConfig?.enableDebugLogs == true) {
final formattedMessage = tag != null ? '[$tag] $message' : message;
debugPrint(formattedMessage);
}
}