Aionsphere / TinyDocDB

TinyDocDB .NET implementation
9 stars 7 forks source link

Create an ILogger interface using TinyDocDB? #1

Open ghost opened 7 years ago

ghost commented 7 years ago

What do you think about creating an ILogger interface for TinyDocDB and using it as an application logging tool?

I think the difficult part may be: 1) Log entry verification and transient failure retries 2) Flush operation - I assume there wouldn't be a flush queue, messages would be written at the time they are created?

ghost commented 7 years ago

Sorry, I just realized the SeriLogger has a DocumentDB sink, but I don't know if it uses the REST API, but it would functionally be the same thing, right?

Aionsphere commented 7 years ago

I think it's a great idea actually, even if SeriLogger does have a sink for DocumentDB, there is no reason we couldn't add an ILogger interface on TinyDocDB for this purpose, do you want to contribute?