orchidhq / Orchid

Build and deploy beautiful documentation sites that grow with you
https://orchid.run
GNU General Public License v3.0
514 stars 53 forks source link

Consider replacing Clog with Timber #304

Closed cjbrooks12 closed 4 years ago

cjbrooks12 commented 5 years ago

JakeWharton/timber offers nearly the same API as Clog (both were essentially ports of android.util.Log), and is currently/nearly a Kotlin/Multiplatform project, which means it could be used in normal JVM projects. By switching to that library, Orchid will be more adapted to a more industry-standard logger implementation, and then I will not need to maintain Clog any longer.

When using Timber, a Tree should be planted with, essentially, the custom loggers set up for Clog. For an initial implementation, it would probably be easiest to just pass the args directly from Timber through to Clog (so both libraries are in use for incremental migration, but the intended API usage is Timber).

cjbrooks12 commented 4 years ago

Moved to #336