logplease icon indicating copy to clipboard operation
logplease copied to clipboard

Simple Javascript logger for Node.js and Browsers

Results 11 logplease issues
Sort by recently updated
recently updated
newest added

I've added some typings to allow for an easier use of logplease within typescript. Includes options, colors, loglevels and exported functions. Import is defined as `import * as log from...

In documentation you mentioned it is possible to "Log messages to stdout or a file". How can I disable logging to stdout/console? Thank you.

That is, when I do a try catch, I want to log the "e" of the try catch. I can create two log messages in a row like this but...

Hi. When I try to run `yarn build` in my own project I get this error: `$ yarn build yarn run v1.9.4 $ react-scripts build Creating an optimized production build......

Since it's still a node process, electron renderer process should still be able to write to file. This patch also makes sure the browser formatting is removed before writing to...

[This](https://github.com/haadcode/logplease/pull/16) previous change to allow colors to work in an electron renderer process had an unintended side effect of preventing electron renderer processes from writing to file. Since they are...

Runs relevant tests in browser using puppeteer package. Results are captured in a snapshot with duration information hidden and compared against an image of the last known passing image run....

Steps to reproduce: - git clone https://github.com/electron/electron-quick-start - cd electron-quick-start - npm install --save-dev logplease - open `renderer.js` and add the following lines ``` const Logger = require('logplease'); const log...

It would be great to run the tests in the browser too. This should be fairly straight-forward to add, so if anyone wants to PR this, I'd be happy to...

enhancement
help wanted

If yes, please provide example how to do it.