static public void SetLogger(AbstractLogger logger) { if (logger != null) { logDecorator.SetComponent(logger); } }
public void SetComponent(AbstractLogger logger) { this.logger = logger; }