MCPcopy Index your code
hub / github.com/pgadmin-org/pgadmin4 / write

Method write

web/regression/runtests.py:455–466  ·  view source on GitHub ↗

This function writes the log in the logger file as well as on console :param buf: log message :type buf: str :return: None

(self, buf)

Source from the content-addressed store, hash-verified

453 self.linebuf = ''
454
455 def write(self, buf):
456 """
457 This function writes the log in the logger file as well as on console
458
459 :param buf: log message
460 :type buf: str
461 :return: None
462 """
463
464 self.terminal.write(buf)
465 for line in buf.rstrip().splitlines():
466 self.logger.log(self.log_level, line.rstrip())
467
468 def flush(self):
469 # Function required to be implemented for logger

Callers 15

windows_platformFunction · 0.45
enter_key_pressFunction · 0.45
other_key_pressFunction · 0.45
socket_set_roleFunction · 0.45
disconnect_socketFunction · 0.45
psql_socket_ioFunction · 0.45
runTestMethod · 0.45
dump_database_serversFunction · 0.45
writerowMethod · 0.45
putMethod · 0.45
write_session_fileFunction · 0.45

Calls 1

logMethod · 0.80

Tested by

no test coverage detected