Skip to content

Commit 159607f

Browse files
committed
Fix documentation and readme
1 parent 7d8c8eb commit 159607f

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Logger
22

3-
[![Version](https://img.shields.io/pub/v/logger.svg)](https://pub.dartlang.org/packages/logger) ![Runtime](https://img.shields.io/badge/dart-%3E%3D2.1-brightgreen.svg) ![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)
3+
[![Version](https://img.shields.io/pub/v/logger.svg)](https://pub.dev/packages/logger) ![Runtime](https://img.shields.io/badge/dart-%3E%3D2.1-brightgreen.svg) ![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)
44

5-
Small, easy to use and extensible logger which prints beautiful logs.
5+
Small, easy to use and extensible logger which prints beautiful logs.<br>
66
Inspired by [logger](https://github.com/orhanobut/logger) for Android.
77

88
**Show some ❤️ and star the repo to support the project**
99

1010
### Resources:
11-
- [Documentation](https://pub.dartlang.org/documentation/logger/latest/logger/)
12-
- [Pub Package](https://pub.dartlang.org/packages/logger)
11+
- [Documentation](https://pub.dev/documentation/logger/latest/logger/logger-library.html)
12+
- [Pub Package](https://pub.dev/packages/logger)
1313
- [GitHub Repository](https://github.com/leisim/logger)
1414

1515
## Getting Started

art/screenshot.png

0 Bytes
Loading

lib/src/logger.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ abstract class LogPrinter {
3232
void log(Level level, dynamic message, dynamic error, StackTrace stackTrace);
3333
}
3434

35+
/// Use instances of logger to send log messages to the [LogPrinter].
3536
class Logger {
3637
/// The current logging level of the app.
3738
///
@@ -41,7 +42,7 @@ class Logger {
4142
final LogPrinter _printer;
4243
final LogFilter _filter;
4344

44-
/// Create a new Logger.
45+
/// Create a new instance of Logger.
4546
///
4647
/// You can provide a custom [printer] and [filter]. Otherwise the default
4748
/// [PrettyPrinter] and [_defaultFilter] will be used.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: logger
22
description: Small, easy to use and extensible logger which prints beautiful logs.
33
version: 0.4.0
44
author: Simon Leier <[email protected]>
5-
homepage: http://github.com/leisim/logger
5+
homepage: https://github.com/leisim/logger
66

77
environment:
88
sdk: ">=2.1.0 <3.0.0"

0 commit comments

Comments
 (0)