LogConfig.fromJson constructor
LogConfig.fromJson(
- Object? json
Implementation
factory LogConfig.fromJson(Object? json) {
final map = asJsonMap(json, 'log');
return LogConfig(
access: map['access'] as String?,
error: map['error'] as String?,
loglevel: map['loglevel'] == null
? null
: LogLevel.fromJson(map['loglevel']),
dnsLog: map['dnsLog'] as bool?,
maskAddress: map['maskAddress'] as String?,
);
}