Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions include/pfasst/logging.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#ifndef NDEBUG
#include <iostream> // used by pfasst::log::test_logging_levels()
#endif
#include <algorithm>
#include <string>
using namespace std;

Expand All @@ -34,8 +35,6 @@ using namespace std;
#include <mpi.h>
#endif

#include <boost/algorithm/string.hpp>

#include "pfasst/config.hpp"


Expand Down Expand Up @@ -382,10 +381,7 @@ namespace pfasst

const size_t id_length = id.size();
string id2print = id.substr(0, LOGGER_ID_LENGTH);
boost::to_upper(id2print);
if (initialized) {
ML_CLOG(DEBUG, "default", "initializing custom logger '" << id << "' as '" << id2print << "'");
}
transform(id2print.begin(), id2print.end(), id2print.begin(), ::toupper);
if (id_length < LOGGER_ID_LENGTH) {
id2print.append(LOGGER_ID_LENGTH - id_length, ' ');
}
Expand Down