filterfish / smith2

A complete rewrite of Smith
12 stars 7 forks source link

Use the Logging gem’s public API to check if the logger is already initialised #50

Closed maetl closed 8 years ago

maetl commented 8 years ago

Replace access to the internal constant with Logging.initialized? which basically does the same thing, but doesn’t require access to the internal const directly.

filterfish commented 8 years ago

Thanks @maetl. Logging.initialized? didn't exist when I wrote that code!