Refactor env logging common usages with a module
This commit is contained in:
8
lib/uh/wm/env_logging.rb
Normal file
8
lib/uh/wm/env_logging.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
module Uh
|
||||
module WM
|
||||
module EnvLogging
|
||||
extend Forwardable
|
||||
def_delegators :@env, :log, :log_error, :log_debug
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user