ScopeLogs constructor
ScopeLogs({
- InstrumentationScope? scope,
- Iterable<
LogRecord> ? logRecords, - String? schemaUrl,
Implementation
factory ScopeLogs({
$3.InstrumentationScope? scope,
$core.Iterable<LogRecord>? logRecords,
$core.String? schemaUrl,
}) {
final $result = create();
if (scope != null) {
$result.scope = scope;
}
if (logRecords != null) {
$result.logRecords.addAll(logRecords);
}
if (schemaUrl != null) {
$result.schemaUrl = schemaUrl;
}
return $result;
}