add [get_logs] function to plugin_gui.rb