logging_support¶
- class pyrosetta.logging_support.PythonLoggingSink¶
Bases:
PyTracer
Logging sink to dispatch all log messages through the logging module.
- _M_write(self: pyrosetta.rosetta.basic.basic_otstream_char_std_char_traits_char_t, __s: str, __n: int) None ¶
C++: std::basic_ostream<char, std::char_traits<char> >::_M_write(const char *, long) –> void
- buf(*args, **kwargs)¶
Overloaded function.
buf(self: pyrosetta.rosetta.basic.PyTracer) -> str
C++: basic::PyTracer::buf() –> std::string
buf(self: pyrosetta.rosetta.basic.PyTracer, b: str) -> None
C++: basic::PyTracer::buf(std::string) –> void
- flush(self: pyrosetta.rosetta.basic.basic_otstream_char_std_char_traits_char_t) pyrosetta.rosetta.std.ostream ¶
C++: std::basic_ostream<char, std::char_traits<char> >::flush() –> std::ostream &
- is_flushed(self: pyrosetta.rosetta.basic.basic_otstream_char_std_char_traits_char_t) bool ¶
C++: basic::basic_otstream<char, std::char_traits<char> >::is_flushed() const –> bool
- output_callback(self: pyrosetta.rosetta.basic.PyTracer, : str) None ¶
C++: basic::PyTracer::output_callback(std::string) –> void
- put(self: pyrosetta.rosetta.basic.basic_otstream_char_std_char_traits_char_t, __c: str) pyrosetta.rosetta.std.ostream ¶
C++: std::basic_ostream<char, std::char_traits<char> >::put(char) –> std::ostream &
- seekp(*args, **kwargs)¶
Overloaded function.
seekp(self: pyrosetta.rosetta.basic.basic_otstream_char_std_char_traits_char_t, : pyrosetta.rosetta.std.fpos___mbstate_t_t) -> pyrosetta.rosetta.std.ostream
C++: std::basic_ostream<char, std::char_traits<char> >::seekp(class std::fpos<__mbstate_t>) –> std::ostream &
seekp(self: pyrosetta.rosetta.basic.basic_otstream_char_std_char_traits_char_t, : int, : std::_Ios_Seekdir) -> pyrosetta.rosetta.std.ostream
C++: std::basic_ostream<char, std::char_traits<char> >::seekp(long, enum std::_Ios_Seekdir) –> std::ostream &
- class sentry¶
Bases:
pybind11_object
- tellp(self: pyrosetta.rosetta.basic.basic_otstream_char_std_char_traits_char_t) pyrosetta.rosetta.std.fpos___mbstate_t_t ¶
C++: std::basic_ostream<char, std::char_traits<char> >::tellp() –> class std::fpos<__mbstate_t>
- write(self: pyrosetta.rosetta.basic.basic_otstream_char_std_char_traits_char_t, __s: str, __n: int) pyrosetta.rosetta.std.ostream ¶
C++: std::basic_ostream<char, std::char_traits<char> >::write(const char *, long) –> std::ostream &
- pyrosetta.logging_support.maybe_initialize_handler(mode)¶
Initialize stdout logging handler if not already initialized.
- pyrosetta.logging_support.set_logging_sink()¶
Redirect all rosetta trace output through the logging.Logger ‘rosetta’.