printJson function

void printJson(
  1. dynamic message, {
  2. bool alwaysPrint = false,
})

Print a message to the console as JSON.

Implementation

void printJson(dynamic message, {bool alwaysPrint = false}) {
  NyLogger.json(message, alwaysPrint: alwaysPrint);
}