Sha256: 02eea0f59a05fc97b2f2489c7df2883e5e9395435938b9e03143c4eb2d965198
Contents?: true
Size: 529 Bytes
Versions: 13
Compression:
Stored size: 529 Bytes
Contents
# # Copyright (c) 2018 Patrick Thomas. All rights reserved. # require 'semantic_logger' module Cayuga module Tools # Cayuga Tools Loggable module Loggable def self.included(base) SemanticLogger::Loggable.included(base) base.class_eval do class << self alias_method :log, :logger end alias_method :log, :logger def self.log_file filenamify('.log') end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems