#NEWLINE# def save_current_buffers( self , filename = '' , log_type = 'raw' , log_format = 'both' ) : #NEWLINE# #INDENT# ' Save buffer data from logger.sid_file\n\n            log_type = raw or filtered\n            log_format = sid_format|sid_extended|supersid_format|supersid_extended|both|both_extended' #NEWLINE# filenames = [ ] #NEWLINE# if ( log_format . startswith ( 'both' ) or log_format . startswith ( 'sid' ) ) : #NEWLINE# #INDENT# fnames = self . logger . log_sid_format ( self . config . stations , '' , log_type = log_type , extended = log_format . endswith ( 'extended' ) ) #NEWLINE# filenames += fnames #NEWLINE# #UNINDENT# if ( log_format . startswith ( 'both' ) or log_format . startswith ( 'supersid' ) ) : #NEWLINE# #INDENT# fnames = self . logger . log_supersid_format ( self . config . stations , filename , log_type = log_type , extended = log_format . endswith ( 'extended' ) ) #NEWLINE# filenames += filename #NEWLINE# #UNINDENT# return filenames