log static method
Implementation
static log(
String tag, {
required String message,
Object? content,
}) {
if (!foundation.kReleaseMode) {
String jsonEncodedContent;
try {
jsonEncodedContent = jsonEncode(content);
} catch (error) {
jsonEncodedContent = jsonEncode(content?.toString());
}
final log = Logger(tag);
log.info(message, jsonEncodedContent);
}
}