Default Logging
REQUIRES
DESCRIPTION
Very simple wrapper around TwP’s Logging framework to provide sensible default behaviour. Specifically:
-
Checks for a configuration file in /etc/log_config.rb by default. This can be overriden
by overriding the log_config method in the extended class.
-
Logs to file output.log in app root direction if no config is found.
-
Defines a log method (with default logger) on the class that is extended
INSTALL
sudo gem install logging