Add Factory for logger