serokell / log-warper

Logging library to provide more convenient, extremely configurable but simple monadic interface with pretty output
MIT License
19 stars 11 forks source link

[LW-4] Add Concurrent module #83

Closed vrom911 closed 6 years ago

vrom911 commented 6 years ago

Resolves #52

chshersh commented 6 years ago

@vrom911 Oh, I forgot. Could you create simple usage example in playground?

vrom911 commented 6 years ago

@ChShersh you mean to take some example from cardano-sl?

chshersh commented 6 years ago

@vrom911 No, I mean something simple. Like, create action where you

  1. Wait 1 second.
  2. Print something.

Repeat this action 10-15 times.

And run this action in parallel with geometric logging starting from 2 seconds.

Does this look clear to you?

chshersh commented 6 years ago

@gromakovsky Please, review one more time 🙏

chshersh commented 6 years ago

@ChShersh can you incorporate these changes into input-output-hk/cardano-sl#2327 after this PR is merged and version is uploaded to Hackage?

Sure, I can.

gromakovsky commented 6 years ago

Let's merge and upload to Hackage maybe? 😉

chshersh commented 6 years ago

Uploaded: http://hackage.haskell.org/package/log-warper