1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
/*
* LoggingEvent.cpp
*
* Copyright 2000, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
* Copyright 2000, Bastiaan Bakker. All rights reserved.
*
* See the COPYING file for the terms of usage and distribution.
*/
#include "PortabilityImpl.hh"
#include <log4shib/LoggingEvent.hh>
#include <log4shib/threading/Threading.hh>
namespace log4shib {
LoggingEvent::LoggingEvent(const std::string& categoryName,
const std::string& message,
const std::string& ndc,
Priority::Value priority) :
categoryName(categoryName),
message(message),
ndc(ndc),
priority(priority),
threadName(threading::getThreadId()) {
}
}
|