danieleteti / loggerpro

An modern and pluggable logging framework for Delphi
Apache License 2.0
353 stars 91 forks source link

NSQueue appender #25

Closed Fulgan closed 6 years ago

Fulgan commented 6 years ago

For our project at work I have created a nsq appender for logger pro. This allow us to collect logs from many different servers in a decentralized way: no central point of failure, local caching of log items, consumers can be added for many different types of messages, etc.

Would it be worthwhile to add this write to loggerPro ?

edwinyzh commented 6 years ago

@Fulgan , Yes, please, it looks interesting. I did a quick google search and it didn't reveal any NSQ delphi wrapper, so I guess you had to do it by yourself?

danieleteti commented 6 years ago

Great! Will be integrated ASAP.

Fulgan commented 6 years ago

I'll need to remove the code that is specific to our own use before I can integrate it but that won't take too long.

Fulgan commented 6 years ago

@edwinyzh Actually, the appender is simply a HTTP post to a localhost port so here is really no need for a wrapper. The consumers are another matter entirely: I use NSQSharp wrapper to write ours (In C#)

Fulgan commented 6 years ago

Pull request is in.