1.1.0 • Published 12 months ago

easio-logger v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Easio Logger

Welcome to Easio Logger, coloring system for console log. Sometimes logging can be a bit boring or you just really need that red output msg. This library allows you to customize your console output with a rich set of styles and chaining capabilities, making it easier to see what's important at a glance.

šŸ“¦ Installation

npm install easio-logger

šŸŽØ Available Styles

Here's a list of styles you can apply to your logs:

- `log.error()`: Logs in red text. āš ļø
- `log.success()`: Logs in green text. āœ…
- `log.bold()`: Logs in bold text. šŸ’Ŗ
- `log.italic()`: Logs in italic text. ✨
- `log.big()`: Logs in large text. šŸ” 
- `log.warning()`: Logs in yellow text. āš ļø
- `log.info()`: Logs in blue text. ā„¹ļø
- `log.underline()`: Logs with underlined text. šŸ”—
- `log.strikethrough()`: Logs with strikethrough text. āŒ
- `log.small()`: Logs in small text. šŸ””
- `log.blueBackground()`: Logs with a blue background. šŸ’™
- `log.greenBackground()`: Logs with a green background. šŸ’š
- `log.redBackground()`: Logs with a red background. ā¤ļø
- `log.shadow()`: Logs with text shadow. šŸŒ«ļø
- `log.uppercase()`: Logs in uppercase text. šŸ” 

šŸ› ļø Usage Here's how you can use the library in your browser console:

Basic Logging

log.error('This is an error message'); // Red text

Chained Logging

log.success.bold('This is a success message in bold green'); // Green and bold

Combining Multiple Styles

log.warning.italic.big('This is a big italic warning message'); // Yellow, italic, and big
1.1.0

12 months ago

1.0.0

12 months ago