FloggerConfig constructor Null safety

const FloggerConfig(
  1. {String loggerName = "App",
  2. bool printClassName = true,
  3. bool printMethodName = false,
  4. bool showDateTime = false,
  5. bool showDebugLogs = true}
)

Implementation

const FloggerConfig({
  // The default name for the logger
  this.loggerName = "App",
  // Print the class name where the log was triggered
  this.printClassName = true,
  // Print the method name where the log was triggered
  this.printMethodName = false,
  // Print the date and time when the log occurred
  this.showDateTime = false,
  // Print logs with Debug severity
  this.showDebugLogs = true,
});