Function initialize

Synopsis

#include <src/easylogging++.h>

void initialize(Logger *logger)

Description

MessageBuilder.

Mentioned in

Source

Lines 2509-2513 in src/easylogging++.cc. Line 2869 in src/easylogging++.h.

void MessageBuilder::initialize(Logger* logger) {
  m_logger = logger;
  m_containerLogSeparator = ELPP->hasFlag(LoggingFlag::NewLineForContainer) ?
                            ELPP_LITERAL("\n    ") : ELPP_LITERAL(", ");
}





Add Discussion

Log in to comment