module NRSER::Log::Mixin
Adaptation of {SemanticLogger::Loggable} mixin to use {NRSER::Log::Logger} instances from {NRSER::Log.[]}.
Like {SemanticLogger::Loggable} adds class and instance `logger` and `logger=` methods that create loggers on demand and store them in the `@semantic_logger` instance variables.
Public Instance Methods
logger=(logger)
click to toggle source
Replace instance class level logger
# File lib/nrser/log/mixin.rb, line 36 def logger= logger @semantic_logger = logger end