Method: Copland::Implementation::LoggingInterceptor#initialize
- Defined in:
- lib/copland/impl/logging-interceptor.rb
#initialize(point, includes, excludes) ⇒ LoggingInterceptor
Create a new LoggingInterceptor for the given service point, with the given list of include and exclude patterns. The logger object will be created as well, named with the service point’s full name.
73 74 75 76 77 |
# File 'lib/copland/impl/logging-interceptor.rb', line 73 def initialize( point, includes, excludes ) @log = point.owner.registry.logs.get( point.full_name ) @includes = includes @excludes = excludes end |