Skip to content

Commit

Permalink
feat: initial release
Browse files Browse the repository at this point in the history
implement logger static method to print hello world
  • Loading branch information
muj-programmer committed Feb 29, 2020
0 parents commit 175632f
Show file tree
Hide file tree
Showing 10 changed files with 76 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .clog.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[clog]
repository = "https://github.com/muj-programmer/dart_logger"
link-style = "github"
changelog = "CHANGELOG.md"
output-format = "markdown"
from-latest-tag = true
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.vscode/
.DS_Store
.dart_tool/
.idea/
.iml
.packages
pubspec.lock
node_modules/
yarn.lock
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Nikhil Anand

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# dart_logger

5 changes: 5 additions & 0 deletions example/main.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import 'package:dart_logger/dart_logger.dart';

void main(){
Logger.logHelloWorld();
}
1 change: 1 addition & 0 deletions lib/dart_logger.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export 'package:dart_logger/src/main.dart';
3 changes: 3 additions & 0 deletions lib/src/main.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class Logger {
static void logHelloWorld() => print('Hello World!');
}
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"devDependencies": {
"cz-conventional-changelog": "3.1.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}
12 changes: 12 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: dart_logger
description: Configurable, Fast and Small logging library for dart and flutter
version: 0.0.1
homepage: https://github.com/muj-programmer/dart_logger
issue_tracker: https://github.com/muj-programmer/dart_logger/issues

environment:
sdk: ">=2.0.0 <3.0.0"

dependencies:

dev_dependencies:

0 comments on commit 175632f

Please sign in to comment.