fix(logging): fix static setLogService and null handling
This commit is contained in:
@@ -51,7 +51,7 @@ class LogEntry {
|
||||
final sb = StringBuffer();
|
||||
sb.writeln('[$timestamp] ${level.name.toUpperCase()} [$module]');
|
||||
if (funcName != null || lineNo != null) {
|
||||
sb.write(' at $funcName' ?? '');
|
||||
sb.write(' at ${funcName ?? ''}');
|
||||
if (lineNo != null) sb.write(':$lineNo');
|
||||
sb.writeln();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user