diary icon indicating copy to clipboard operation
diary copied to clipboard

πŸ“‘ Zero-dependency, fast logging library for Node, Browser and Workers

Results 8 diary issues
Sort by recently updated
recently updated
newest added

closes #12 by implementing the 3rd proposal. It ended up being very straightforward to implement, thanks to the simple and clear codebase. # Feature description Allows diary inheritance by returning...

If you have any ideas on how to get this library supported in deno, please help me raise a PR.

good first issue

Turns out localStorage is not always accessible in the browser. In my particular usecase, my app was used in an iframe, and chrome with restrictive 3rd party cookie settings throws...

To more closely mimic the `console.log` api, it could be nice to allow the following: ```ts const logger = diary("myScope"); const myCoolObject = { foo: "bar" }; logger.log(myCoolObject); ``` This...

In [v1.0.2](https://github.com/maraisr/diary/releases/tag/0.1.2), the `setLevel` api was removed. In the release notes it is mentioned that this can be replaced by using the new `onEmit` api. However, as far as I...

First of all, thanks for noticing and mentioning `ulog`! πŸ€— Now for this issue, I wonder if you noticed my other project, [`anylogger`](https://github.com/download/anylogger)? Would you consider helping to support it?...

As abit of background, `diary` has been largely inspired by the logging in "backend" worldβ€”such as `go` or `rust`. With the idea that you simply run `log.debug` with some message...

### Is this feature in relation to a problem? I want to use an env variable to filter log by level. For example, when I use LOG_LEVEL=error, I dont want...