LogMessage constructor

LogMessage({
  1. String? customId,
  2. required BuildContext loggerContext,
  3. required String name,
  4. required LogLevel level,
  5. Map<String, dynamic>? payload,
  6. String? title,
})

Implementation

LogMessage(
    {String? customId,
    required this.loggerContext,
    required this.name,
    required this.level,
    this.payload,
    this.title})
    : id = customId ?? getRandomId(20),
      time = DateTime.now();