public static void clean_log(RubyModule /*!*/ self) { try { RhoLogger.clearLog(); } catch (Exception ex) { Exception rubyEx = self.Context.CurrentException; if (rubyEx == null) { rubyEx = RubyExceptionData.InitializeException(new RuntimeError(ex.Message.ToString()), ex.Message); } LOG.ERROR("clean_log", ex); throw rubyEx; } }