Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matheussantos360/logfy-x
Logs Generating Fantastic eXperiences
https://github.com/matheussantos360/logfy-x
backend cli colors console easy frontend javascript log logfy logfy-x logger logging nodejs npm npm-package styles terminal text typescript utilities
Last synced: about 2 months ago
JSON representation
Logs Generating Fantastic eXperiences
- Host: GitHub
- URL: https://github.com/matheussantos360/logfy-x
- Owner: MatheusSantos360
- License: mit
- Created: 2024-10-30T21:05:40.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-11-25T18:57:16.000Z (2 months ago)
- Last Synced: 2024-11-25T19:26:01.929Z (2 months ago)
- Topics: backend, cli, colors, console, easy, frontend, javascript, log, logfy, logfy-x, logger, logging, nodejs, npm, npm-package, styles, terminal, text, typescript, utilities
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/logfy-x
- Size: 119 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# **Logfy-X**: Logs Generating Fantastic eXperiences
**Transform Your Terminal Logs with Style and Precision**
**Logfy-X** is a powerful terminal logging tool designed to make logging easier, organized, and pleasant, both during development and production. With **Logfy-X**, developers can view real-time behavior in a colorful and structured way, reducing the monotony of plain text logs.
## 🚀 **Key Feature**
- 🎨 **Stylized/Pretty Text Log**: Color, background color, text style, transform to upper/lower case, and more.
## 📖 **Examples**
### **Text Styling**
#### Code:
```javascript
import logfy from "logfy-x";// Log to the console with the default styles specified in `logfy-x.json`
logfy("My content");// Log to the console with the default styles and additional custom styles
// ⚠️ Note: The styles provided in the options can overwrite the default styles.
logfy("My content", { style: "white bg-blue bold" });// Log to the console with the default styles "red" and "bold" removed
logfy("My content", { style: "-red -bold" });
```## 🤝 **Contributing**
Contributions are welcome! Please read our [contributing guide](CONTRIBUTING.md) for details on how to get started.
## 📄 **License**
This project is licensed under the [MIT License](LICENSE).