ngx-fancy-logger is a console logger for angular applications. It provides various features like different log levels, display labels, show time etc.
- Different Log Levels (DEBUG=0, INFO=1, WARNING=2, ERROR=3).
- Log Levels are displayed in Label form with assigned color style or default colors.
- Show/Hide Time
- Show/Hide Emoji for each Log Level
- Show Header on console (
color
andfontSize
configurable) - Debug RxJS Observable Stream using
debugOperator()
operator function - Can configure each setting with
LoggerConfig
inforRoot
(which allows us to configureenvironment
specific configuration) or usingupdateConfig()
method. - Reset configuration using
resetConfig()
method - Environment Specific Log Level Restriction.
eg. if you set
logLevel
toWARNING
, it will only show logs forWARNING
andERROR
. - Can configure Log Level Colors.
- Can Disable all logs
Ngx-Fancy-Logger Demo with All available configuration options
All are welcome to contribute to NgxFancyLogger
. Contribute with some code, file a bug or improve the documentation.
Thanks goes to these wonderful people.
Ankit Prajapati |
Jiten (Jits) Bhagat |
If you like this library, mark a star ⭐ on ngx-fancy-logger GitHub repository, this will increase our confidence to add new features in this library.