lib/rex/logging/log_sink.rb in librex-0.0.68 vs lib/rex/logging/log_sink.rb in librex-0.0.70

- old
+ new

@@ -11,29 +11,29 @@ # instance, such as the Framework object. # ### module LogSink - def cleanup - end + def cleanup + end - # - # This method must be implemented by any derived log sink classes and is - # intended to take the supplied parameters and persist them to an arbitrary - # medium. - # - def log(sev, src, level, msg, from) - raise NotImplementedError - end + # + # This method must be implemented by any derived log sink classes and is + # intended to take the supplied parameters and persist them to an arbitrary + # medium. + # + def log(sev, src, level, msg, from) + raise NotImplementedError + end protected - # - # This method returns the current timestamp in MM/DD/YYYY HH:Mi:SS format. - # - def get_current_timestamp - return Time.now.strftime("%m/%d/%Y %H:%M:%S") - end + # + # This method returns the current timestamp in MM/DD/YYYY HH:Mi:SS format. + # + def get_current_timestamp + return Time.now.strftime("%m/%d/%Y %H:%M:%S") + end end end end