Fixed context in which LogPlugin factories create method gets called
Added missing optional param annotation for messageFactory param of
Logger