Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyrlex authored Jul 3, 2024
1 parent 77e88a8 commit 4ca78e8
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,15 @@
# loggage
If ur reading this, you're doing it wrong.
# Loggage
A simple logging library for Node.js. This package is used with [CountBot](https://count.bot) and open sourced for public use.

# Install
Install loggage by entering `npm i @countbot/loggage` into your CLI.

# Usage
```ts
const logger = new Logger({ name: 'My Project', verbosity: Verbosity.INFO, logToFile: false });

logger.warning('This is a warning message');
```

# Output
![image](https://github.com/Count-Bot/loggage/assets/31144090/854c0c47-2e39-4d82-9bf5-5ffb92783b6b)

0 comments on commit 4ca78e8

Please sign in to comment.