Google OR-Tools: operations_research::SolverLogger Class Reference

Definition at line 43 of file logging.h.

#include <logging.h>

Public Member Functions

 SolverLogger ()
void EnableLogging (bool enable)
bool LoggingIsEnabled () const
void SetLogToStdOut (bool enable)
void AddInfoLoggingCallback (std::function< void(const std::string &message)> callback)
void ClearInfoLoggingCallbacks ()
int NumInfoLoggingCallbacks () const
void LogInfo (const char *source_filename, int source_line, const std::string &message)
int GetNewThrottledId ()
void ThrottledLog (int id, const std::string &message)
void FlushPendingThrottledLogs (bool ignore_rates=false)
operations_research::SolverLogger::SolverLogger ( )

◆ AddInfoLoggingCallback()

void operations_research::SolverLogger::AddInfoLoggingCallback ( std::function< void(const std::string &message)> callback)

◆ ClearInfoLoggingCallbacks()

void operations_research::SolverLogger::ClearInfoLoggingCallbacks ( )

◆ EnableLogging()

void operations_research::SolverLogger::EnableLogging ( bool enable)
inline

◆ FlushPendingThrottledLogs()

void operations_research::SolverLogger::FlushPendingThrottledLogs ( bool ignore_rates = false)

◆ GetNewThrottledId()

int operations_research::SolverLogger::GetNewThrottledId ( )

◆ LoggingIsEnabled()

bool operations_research::SolverLogger::LoggingIsEnabled ( ) const
inline

◆ LogInfo()

void operations_research::SolverLogger::LogInfo ( const char * source_filename,
int source_line,
const std::string & message )

◆ NumInfoLoggingCallbacks()

int operations_research::SolverLogger::NumInfoLoggingCallbacks ( ) const
inline

◆ SetLogToStdOut()

void operations_research::SolverLogger::SetLogToStdOut ( bool enable)
inline

◆ ThrottledLog()

void operations_research::SolverLogger::ThrottledLog ( int id,
const std::string & message )

The documentation for this class was generated from the following files: