format = SavedLogFormatLoader.load(configName);
} else {
format = new PlainTextLogFormat();
}
WrappedCharBuffer buffer = WrappedCharBuffer.fromFile(f);
Less tool = new Less();
tool.createDefaultCommands();
tool.addCommand(new RendererCommand(tool, format));
tool.addCommand(new ModelsCommand(format, buffer, tool));