-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
721 additions
and
9,854 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
node_modules/ | ||
test/ | ||
package-lock.json | ||
docREADME.md | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
node_modules/ | ||
test/ | ||
package-lock.json | ||
docREADME.md | ||
docs/ | ||
test/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"printWidth": 100, | ||
"singleQuote": true, | ||
"printWidth": 120, | ||
"tabWidth": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,167 @@ | ||
![banner](https://cdn.discordapp.com/attachments/1050740855805313064/1125727738410573894/Logo.png) | ||
<div align="center"> | ||
<img alt="TermLogger-Banner" src="./media/Banner.png" /> | ||
</div> | ||
|
||
# TERM LOGGER | ||
<h1 align="center">TERM LOGGER</h1> | ||
<p align="center">A simple node logger with custom formatted console logs!</p> | ||
|
||
Custom formatted **Console Logs** and **Anti-Crash** system for your Discord bot! | ||
<p align="center"> | ||
<a href="https://www.npmjs.com/package/term-logger"> | ||
<img alt="version" src="https://img.shields.io/npm/v/term-logger" /> | ||
</a> | ||
<a href="https://www.npmjs.com/package/term-logger"> | ||
<img alt="collaborators" src="https://img.shields.io/npm/collaborators/term-logger" /> | ||
</a> | ||
<a href="https://www.npmjs.com/package/term-logger"> | ||
<img alt="downloads" src="https://img.shields.io/npm/dt/term-logger" /> | ||
</a> | ||
<a href="https://www.npmjs.com/package/term-logger"> | ||
<img alt="licence" src="https://img.shields.io/npm/l/term-logger" /> | ||
</a> | ||
</p> | ||
|
||
![version](https://img.shields.io/npm/v/term-logger) | ||
![collaborators](https://img.shields.io/npm/collaborators/term-logger) | ||
![downloads](https://img.shields.io/npm/dt/term-logger) | ||
![licence](https://img.shields.io/npm/l/term-logger) | ||
<h1>Getting Started</h1> | ||
<h2>Installation</h2> | ||
<ul> | ||
<li>To install term-logger package simply run this command in cmd:</li> | ||
</ul> | ||
|
||
# Documentation | ||
``` | ||
npm install term-logger@latest | ||
``` | ||
|
||
Documentation on how to use the **term-logger** package can be found [here](https://devdeem.github.io/term-logger)! | ||
<h2>Usage</h2> | ||
<h4>Logger Options</h4> | ||
<ul> | ||
<li>Import term-logger and start using any of the default loggers and colors.</li> | ||
</ul> | ||
|
||
# Sponsor Us | ||
<details> | ||
<summary>View all of the available loggers.</summary> | ||
|
||
Do you use **Term-Logger** and are you satisfied? | ||
You can support us with a one-time donation to help us improve our work: [Donate here](https://ko-fi.com/deemdev). | ||
<br /> | ||
|
||
> Developed by @deemdev with ❤️ | ||
- `error` | ||
- `success` | ||
- `warn` | ||
- `await` | ||
- `complete` | ||
- `debug` | ||
- `fatal` | ||
- `info` | ||
- `note` | ||
- `pending` | ||
- `start` | ||
- `watch` | ||
- `critical` | ||
- `ready` | ||
- `command` | ||
- `event` | ||
- `database` | ||
- `shard` | ||
- `cluster` | ||
- `log` | ||
</details> | ||
|
||
<br /> | ||
|
||
```js | ||
const { Logger } = require('term-logger'); | ||
|
||
Logger.error(new Error('...')); | ||
Logger.success('...'); | ||
// and 18 more logs... | ||
``` | ||
|
||
<h4>Colors Options</h4> | ||
|
||
<details> | ||
<summary>View all of the available colors.</summary> | ||
|
||
<br /> | ||
|
||
- `red` | ||
- `green` | ||
- `yellow` | ||
- `blue` | ||
- `purple` | ||
- `cyan` | ||
- `white` | ||
- `gray` | ||
- `grey` | ||
- `brightRed` | ||
- `brightGreen` | ||
- `brightYellow` | ||
- `brightBlue` | ||
- `brightPurple` | ||
- `brightCyan` | ||
- `brightWhite` | ||
- `bgRed` | ||
- `bgGreen` | ||
- `bgYellow` | ||
- `bgBlue` | ||
- `bgPurple` | ||
- `bgCyan` | ||
- `bgWhite` | ||
- `bgGrey` | ||
</details> | ||
|
||
<br /> | ||
|
||
```js | ||
const { TextColors, BrightColors, BgColors } = require('term-logger'); | ||
|
||
TextColors.red('...'); | ||
TextColors.blue('...'); | ||
// and 7 more colors... | ||
|
||
BrightColors.brightWhite('...'); | ||
BrightColors.brightYellow('...'); | ||
// and 5 more bright colors... | ||
|
||
BgColors.bgGreen('...'); | ||
BgColors.bgRed('...'); | ||
// and 6 more background colors... | ||
``` | ||
|
||
<h4>TextStyles Options</h4> | ||
|
||
<details> | ||
<summary>View all of the available text styles.</summary> | ||
|
||
<br /> | ||
|
||
- `bold` | ||
- `italic` | ||
- `underline` | ||
- `inverse` | ||
- `strikethrough` | ||
- `rainbow` | ||
- `america` | ||
- `trap` | ||
- `random` | ||
</details> | ||
|
||
<br /> | ||
|
||
```js | ||
const { TextStyles } = require('term-logger'); | ||
|
||
TextStyles.italic('...'); | ||
TextStyles.underline('...'); | ||
// and 7 more text styles... | ||
``` | ||
|
||
<h2>Do you have any issues?</h2> | ||
<p> | ||
If you have any issues don't hesitate to report it via | ||
<a href="https://github.com/devdeem/term-logger/issues">GitHub Issues</a>. | ||
</p> | ||
|
||
<h2>Sponsor Us ❤️</h2> | ||
<p> | ||
Do you use <b>Term Logger</b> and are you satisfied?<br>You can support us with a one-time donation to help us improve our | ||
work <a href="https://ko-fi.com/deemdev">here</a>. | ||
</p> | ||
|
||
<footer>> Developed by <b>@deemdev</b> with ❤️</footer> |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.