Skip to content
halitseverPublic

About

Node.js logger that prints each line with an emoji, log levels, console log colors, timestamps and context loggers.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

10 stars

Watchers

1 watching

Forks

Repository files navigation

Logmoji logo

Node.js logger that prints each line with an emoji, log levels, console log colors, timestamps and context loggers


GitHub sponsors License

Documentation

npm install logmoji --save

Usage:

const logger = require("logmoji")({ timestamp: false });

logger.success("You did it!");
// ✅ Success: You did it!

Each level prints in its own console log color, green for success and red for errors. Colors are only written to a terminal: files and pipes get plain text, NO_COLOR turns them off and FORCE_COLOR turns them on. Change them with the logColors option described in the configuration docs.

Found a bug or have an idea? Open an issue.
Read the contributing guide before sending a pull request.

MIT LICENSE | Halit Sever

About

Node.js logger that prints each line with an emoji, log levels, console log colors, timestamps and context loggers.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages