wgnet / fox

Client library for RabbitMQ build on top of amqp_client.
MIT License
8 stars 7 forks source link

produce logs in json format #8

Open yzh44yzh opened 7 months ago

yzh44yzh commented 7 months ago

@dziaineka @webchemist what do you think about changing logs to json format?

dziaineka commented 7 months ago

@yzh44yzh I like the idea

seriyps commented 7 months ago

By "json format" you mean "structured logs"? i.e. passing a map as 1st argument to logger:info? If so, then it's a quite good idea.

yzh44yzh commented 7 months ago

@seriyps exactly

yzh44yzh commented 7 months ago

However, it's like breaking API, this could harm projects which use this library.

dziaineka commented 7 months ago

However, it's like breaking API, this could harm projects which use this library.

4.0.0 here we go 🙂

yzh44yzh commented 7 months ago

ok then