msg is a string "[%s] %s\n", where '%s' are replaced with return value of the method self.log_date_time_string and formated args.
msg = "[%s] %s\n" % ( self . log_date_time_string ( ) , format % args )