コード例 #1
0
ファイル: LogPartition.cpp プロジェクト: 12w21/rippled
LogPartition::LogPartition (std::string const& name)
    : mNextLog (headLog)
    , mName (canonicalFileName (name.c_str()))
{
    severity (Journal::kWarning);
    // VFALCO TODO Use an intrusive list.
    headLog = this;
}
コード例 #2
0
ファイル: LogPartition.cpp プロジェクト: DaiLiRong/rippled
LogPartition::LogPartition (std::string const& name)
    : mNextLog (headLog)
    , mMinSeverity (lsWARNING)
    , mName (canonicalFileName (name.c_str()))
    , m_console (false)
{
    // VFALCO TODO Use an intrusive list.
    headLog = this;
}