vendor/gems/logging-0.9.7/lib/logging/appenders/string_io.rb
def clear
      sync {
        @pos = 0
        @sio.seek 0
        @sio.truncate 0
      }
    end
# Clears the internal StringIO instance. All log messages are removed
# from the buffer.
#
Clears the internal StringIO instance. All log messages are removed
from the buffer.
Clears the internal StringIO instance . All log messages are removed from the buffer .
def clear
      sync {
        @pos = 0
        @sio.seek 0
        @sio.truncate 0
      }
    end
def clear sync { @pos = 0 @sio . seek 0 @sio . truncate 0 } end
Clears the internal StringIO instance.
Clears the internal StringIO instance .