Log constructor

Log({
  1. Header? header,
  2. int? level,
  3. String? name,
  4. String? msg,
  5. String? file,
  6. String? function,
  7. int? line,
  8. List<String>? topics,
})

Implementation

Log({
  Header? header,
  int? level,
  String? name,
  String? msg,
  String? file,
  String? function,
  int? line,
  List<String>? topics,
}):
this.header = header ?? Header(),
this.level = level ?? 0,
this.name = name ?? '',
this.msg = msg ?? '',
this.file = file ?? '',
this.function = function ?? '',
this.line = line ?? 0,
this.topics = topics ?? [];