diff --git a/src/robotlegs/bender/extensions/mediatorMap/impl/MediatorMap.as b/src/robotlegs/bender/extensions/mediatorMap/impl/MediatorMap.as index 0cc16c11..bb1c6e62 100644 --- a/src/robotlegs/bender/extensions/mediatorMap/impl/MediatorMap.as +++ b/src/robotlegs/bender/extensions/mediatorMap/impl/MediatorMap.as @@ -1,14 +1,15 @@ //------------------------------------------------------------------------------ -// Copyright (c) 2009-2013 the original author or authors. All Rights Reserved. -// -// NOTICE: You are permitted to use, modify, and distribute this file -// in accordance with the terms of the license agreement accompanying it. +// Copyright (c) 2009-2013 the original author or authors. All Rights Reserved. +// +// NOTICE: You are permitted to use, modify, and distribute this file +// in accordance with the terms of the license agreement accompanying it. //------------------------------------------------------------------------------ package robotlegs.bender.extensions.mediatorMap.impl { import flash.display.DisplayObject; import flash.utils.Dictionary; + import robotlegs.bender.extensions.matching.ITypeMatcher; import robotlegs.bender.extensions.matching.TypeMatcher; import robotlegs.bender.extensions.mediatorMap.api.IMediatorMap; @@ -45,9 +46,9 @@ package robotlegs.bender.extensions.mediatorMap.impl /** * @private */ - public function MediatorMap(context:IContext) + public function MediatorMap(context:IContext, logger : ILogger = null) { - _logger = context.getLogger(this); + _logger = logger || context.getLogger(this); _factory = new MediatorFactory(context.injector); _viewHandler = new MediatorViewHandler(_factory); }