json static method
Log output for a single object.
Implementation
static json(Object? object, {String? mark, LogOption? option}) {
final LogOption vOption = IDKitLog.instance.optionLog.copy(option);
if (vOption.isEnable ?? true && value.isNoNull) {
final String content = jsonEncode(
object,
toEncodable: (nonEncodable) => nonEncodable.toString(),
);
final StackTrace stackTrace = StackTrace.current;
TLog.outPutModeMethod(vOption, stackTrace, LogMethod.json,
mark: mark, json: content);
}
}