SceneGate / Yarhl

Framework for the implementation of format converters like game assets or media files
https://scenegate.github.io/Yarhl/
MIT License
59 stars 10 forks source link

Logger #1

Open pleonex opened 8 years ago

pleonex commented 8 years ago

Implement a logger. This will be useful to report ok, warnings and errors from plugins and create reports.

pleonex commented 7 years ago

Make sure that the logger logs the errors when writing larger strings than allowed from the DataWriter.

pleonex commented 6 years ago

This library seems a good candidate: https://github.com/damianh/LibLog

pleonex commented 4 years ago

LibLog has been deprecated in favor of Microsoft.Extension.Logging. Yarhl should provide a static class where to set the ILoggerFactory that applications will create (by default the null provider). Every class that wants to use logging will create its own ILogger<T> from this factory in their constructor.

References to learn the tech: