Popularity
0.7
Growing
Activity
7.1
-
46
2
0

Description

This library provides a function log() which is like console.log, but with superpowers: it can be used in expressions - f(log(x)), and it supports plugins. For example, there are plugins for setting a severity level, for adding badges, and for logging functions, iterables, promises and RxJS observables. Instead of writing log messages to the console, you can inspect them in unit tests with help of Jest's snapshots feature.

The library is fully documented, but I've also written an article that introduces it to RxJS users (logging RxJS observables is just one use case, but one which the library grew out from): https://dev.to/ivan7237d/log-and-test-rxjs-observables-with-1log-5cbm

Programming language: TypeScript
License: MIT License
Tags: Log     Testing     Developer Tools     Test     RxJS     Jest     Snapshot    

1log alternatives and similar libraries

Based on the "Log" category.
Alternatively, view 1log alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of 1log or a related project?

Add another 'Log' Library