Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit f5d6442

Browse files
authored
add file copyrights and misc changes (#119)
1 parent d10e248 commit f5d6442

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[![Build Status](https://github.com/dart-lang/logging/workflows/Dart%20CI/badge.svg)](https://github.com/dart-lang/logging/actions?query=workflow%3A"Dart+CI"+branch%3Amaster)
22
[![Pub](https://img.shields.io/pub/v/logging.svg)](https://pub.dev/packages/logging)
3+
[![package publisher](https://img.shields.io/pub/publisher/logging.svg)](https://pub.dev/packages/logging/publisher)
34

45
## Initializing
56

lib/src/log_record.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'dart:async';
26

37
import 'level.dart';

lib/src/logger.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'dart:async';
26
import 'dart:collection';
37

@@ -55,7 +59,7 @@ class Logger {
5559
///
5660
/// Calling `Logger(name)` will return the same instance whenever it is called
5761
/// with the same string name. Loggers created with this constructor are
58-
/// retained indefinitely and available through [attachedLoggers];
62+
/// retained indefinitely and available through [attachedLoggers].
5963
factory Logger(String name) =>
6064
_loggers.putIfAbsent(name, () => Logger._named(name));
6165

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ environment:
1010
sdk: ">=2.12.0 <3.0.0"
1111

1212
dev_dependencies:
13-
lints: ^1.0.0
13+
lints: '>=1.0.0 <3.0.0'
1414
test: ^1.16.0

0 commit comments

Comments
 (0)