muesli / cache2go

Concurrency-safe Go caching library with expiration capabilities and access counters
Other
2.11k stars 518 forks source link

Logger init #38

Closed nichtsen closed 2 years ago

nichtsen commented 4 years ago

Enable internal logging method ( CacheTable.log() ) for convenience

muesli commented 4 years ago

That would always enable a logger though. I think the default for a library should be to not output anything to stdout/err unless asked to.