prod method

  1. @override
dynamic prod(
  1. dynamic message, {
  2. bool isJson = false,
})
override

This will be logged in production environment (Use carefully)

Implementation

@override
prod(dynamic message, {bool isJson = false}) {
  final formattedMessage = isJson ? jsonFormat(message) : message;
  intercept(formattedMessage, LogType.prod);
  print(formattedMessage);
}