https://github.com/minecraftts/logger
Logger used in MinecraftTS
https://github.com/minecraftts/logger
hacktoberfest logger nodejs typescript
Last synced: 12 months ago
JSON representation
Logger used in MinecraftTS
- Host: GitHub
- URL: https://github.com/minecraftts/logger
- Owner: minecraftts
- License: mit
- Created: 2022-09-21T18:38:04.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-24T03:19:12.000Z (over 3 years ago)
- Last Synced: 2024-11-12T09:51:10.117Z (over 1 year ago)
- Topics: hacktoberfest, logger, nodejs, typescript
- Language: TypeScript
- Homepage:
- Size: 9.77 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# logger
A simple logger, used in MinecraftTS.
### Usage
First install with `npm install @minecraftts/logger` then initialize the logger via
```ts
import { Logger } from "@minecraftts/logger";
new Logger();
```
You can then either log via methods exposed by `console` or via any of the `Logger` methods