LoggerConfig constructor
LoggerConfig({})
Implementation
factory LoggerConfig({
$core.String? id,
$core.bool? pushInfoLogs,
$core.bool? pushDebugLogs,
$core.bool? pushErrorLogs,
$core.bool? pushFatalLogs,
$core.bool? pushWarnLogs,
$1.Timestamp? createdAt,
$1.Timestamp? updatedAt,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (pushInfoLogs != null) {
_result.pushInfoLogs = pushInfoLogs;
}
if (pushDebugLogs != null) {
_result.pushDebugLogs = pushDebugLogs;
}
if (pushErrorLogs != null) {
_result.pushErrorLogs = pushErrorLogs;
}
if (pushFatalLogs != null) {
_result.pushFatalLogs = pushFatalLogs;
}
if (pushWarnLogs != null) {
_result.pushWarnLogs = pushWarnLogs;
}
if (createdAt != null) {
_result.createdAt = createdAt;
}
if (updatedAt != null) {
_result.updatedAt = updatedAt;
}
return _result;
}