Refactor ruslog, appender, formatter