rippled
|
Log manager that searches for a specific message substring. More...
Classes | |
class | CheckMessageSink |
Public Member Functions | |
CheckMessageLogs (std::string msg, bool *pFound) | |
Constructor. More... | |
std::unique_ptr< beast::Journal::Sink > | makeSink (std::string const &partition, beast::severities::Severity threshold) override |
bool | open (boost::filesystem::path const &pathToLogFile) |
beast::Journal::Sink & | get (std::string const &name) |
beast::Journal::Sink & | operator[] (std::string const &name) |
beast::Journal | journal (std::string const &name) |
beast::severities::Severity | threshold () const |
void | threshold (beast::severities::Severity thresh) |
std::vector< std::pair< std::string, std::string > > | partition_severities () const |
void | write (beast::severities::Severity level, std::string const &partition, std::string const &text, bool console) |
std::string | rotate () |
void | silent (bool bSilent) |
Set flag to write logs to stderr (false) or not (true). More... | |
Static Public Member Functions | |
static LogSeverity | fromSeverity (beast::severities::Severity level) |
static beast::severities::Severity | toSeverity (LogSeverity level) |
static std::string | toString (LogSeverity s) |
static LogSeverity | fromString (std::string const &s) |
Private Types | |
enum | { maximumMessageCharacters = 12 * 1024 } |
Static Private Member Functions | |
static void | format (std::string &output, std::string const &message, beast::severities::Severity severity, std::string const &partition) |
Private Attributes | |
std::string | msg_ |
bool * | pFound_ |
std::mutex | mutex_ |
std::map< std::string, std::unique_ptr< beast::Journal::Sink >, boost::beast::iless > | sinks_ |
beast::severities::Severity | thresh_ |
File | file_ |
bool | silent_ = false |
Log manager that searches for a specific message substring.
Definition at line 27 of file CheckMessageLogs.h.
|
privateinherited |
ripple::test::CheckMessageLogs::CheckMessageLogs | ( | std::string | msg, |
bool * | pFound | ||
) |
Constructor.
msg | The message string to search for |
pFound | Pointer to the variable to set to true if the message is found |
Definition at line 60 of file CheckMessageLogs.h.
|
overridevirtual |
Reimplemented from ripple::Logs.
Definition at line 66 of file CheckMessageLogs.h.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticprivateinherited |
|
private |
Definition at line 29 of file CheckMessageLogs.h.
|
private |
Definition at line 30 of file CheckMessageLogs.h.
|
mutableprivateinherited |
|
privateinherited |
|
privateinherited |