LogMessagePatternFormatter.cpp File Reference

#include "blocxx/BLOCXX_config.h"
#include "blocxx/LogMessagePatternFormatter.hpp"
#include "blocxx/String.hpp"
#include "blocxx/LogMessage.hpp"
#include "blocxx/StringBuffer.hpp"
#include "blocxx/IntrusiveCountableBase.hpp"
#include "blocxx/Format.hpp"
#include "blocxx/ExceptionIds.hpp"
#include "blocxx/DateTime.hpp"
#include "blocxx/ThreadImpl.hpp"
#include <vector>
#include <cstdlib>
#include <errno.h>

Go to the source code of this file.

Namespaces

namespace  BLOCXX_NAMESPACE

Classes

class  BLOCXX_NAMESPACE::LogMessagePatternFormatter::Converter

Typedefs

typedef LogMessagePatternFormatter::Converter BLOCXX_NAMESPACE::Converter
typedef LogMessagePatternFormatter::ConverterRef BLOCXX_NAMESPACE::ConverterRef

Enumerations

enum  EJustificationFlag
enum  EParserState

Functions

String BLOCXX_NAMESPACE::CDATA_START ("<![CDATA[")
String BLOCXX_NAMESPACE::CDATA_EMBEDDED_END (CDATA_END+CDATA_PSEUDO_END+CDATA_START)

Variables

int minWidth
int maxWidth
EJustificationFlag justification
static const int NO_MIN_WIDTH = -1
static const int NO_MAX_WIDTH = 0x7FFFFFFF
String BLOCXX_NAMESPACE::CDATA_END ("]]>")
String BLOCXX_NAMESPACE::CDATA_PSEUDO_END ("]]&gt;")
String m_literal
int m_precision
static UInt64 startMillis
static const char *const ISO8601_DATE_FORMAT
static const char *const ISO8601_PATTERN
static const char *const ABSOLUTE_DATE_FORMAT
static const char *const ABSOLUTE_PATTERN
static const char *const DATE_DATE_FORMAT
static const char *const DATE_PATTERN
String m_format
size_t i
EParserState state
StringBuffer literal
Formatting formatting
String pattern


Variable Documentation

const char* const ABSOLUTE_DATE_FORMAT [static]
 

Definition at line 494 of file LogMessagePatternFormatter.cpp.

const char* const ABSOLUTE_PATTERN [static]
 

Definition at line 495 of file LogMessagePatternFormatter.cpp.

const char* const DATE_DATE_FORMAT [static]
 

Definition at line 496 of file LogMessagePatternFormatter.cpp.

const char* const DATE_PATTERN [static]
 

Definition at line 497 of file LogMessagePatternFormatter.cpp.

Formatting formatting
 

Definition at line 878 of file LogMessagePatternFormatter.cpp.

size_t i
 

Definition at line 875 of file LogMessagePatternFormatter.cpp.

Referenced by BLOCXX_NAMESPACE::MD5::convertBinToHex(), BLOCXX_NAMESPACE::DateTime::DateTime(), BLOCXX_NAMESPACE::Decode(), BLOCXX_NAMESPACE::EnvVars::deleteEnvp(), BLOCXX_NAMESPACE::AppenderLogger::doCategoryIsEnabled(), BLOCXX_NAMESPACE::AppenderLogger::doComponentAndCategoryAreEnabled(), BLOCXX_NAMESPACE::SyslogAppender::doProcessLogMessage(), BLOCXX_NAMESPACE::FileAppender::doProcessLogMessage(), BLOCXX_NAMESPACE::AppenderLogger::doProcessLogMessage(), BLOCXX_NAMESPACE::Encode(), BLOCXX_NAMESPACE::SortedVectorSet< String >::erase(), BLOCXX_NAMESPACE::EnvVars::fillEnvMap(), BLOCXX_NAMESPACE::LogMessagePatternFormatter::formatMessage(), BLOCXX_NAMESPACE::Logger::getConfigItem(), BLOCXX_NAMESPACE::EnvVars::getenvp(), BLOCXX_NAMESPACE::SocketUtils::getFullyQualifiedHostName(), BLOCXX_NAMESPACE::AppenderLogger::getLevel(), BLOCXX_NAMESPACE::getRandomBytes(), BLOCXX_NAMESPACE::RWLocker::getWriteLock(), BLOCXX_NAMESPACE::SelectEngine::go(), BLOCXX_NAMESPACE::String::hashCode(), BLOCXX_NAMESPACE::FileSystem::initRandomFile(), BLOCXX_NAMESPACE::SortedVectorSet< String >::insert(), BLOCXX_NAMESPACE::String::lastIndexOf(), BLOCXX_NAMESPACE::MD5::MD5Update(), BLOCXX_NAMESPACE::SortedVectorMap< Key, T, Compare >::operator[](), BLOCXX_NAMESPACE::StackTrace::printStackTrace(), BLOCXX_NAMESPACE::Format::process(), BLOCXX_NAMESPACE::BinarySerialization::readArray(), BLOCXX_NAMESPACE::BinarySerialization::readLen(), BLOCXX_NAMESPACE::RWLocker::releaseReadLock(), BLOCXX_NAMESPACE::Stack< T >::search(), BLOCXX_NAMESPACE::Select::select(), BLOCXX_NAMESPACE::Select::selectRWEpoll(), BLOCXX_NAMESPACE::Select::selectRWPoll(), BLOCXX_NAMESPACE::Select::selectRWSelect(), BLOCXX_NAMESPACE::PosixUnnamedPipe::setBlocking(), BLOCXX_NAMESPACE::substitute_caps(), BLOCXX_NAMESPACE::String::tokenize(), BLOCXX_NAMESPACE::UTF8Utils::UCS2ToString(), BLOCXX_NAMESPACE::BinarySerialization::writeArray(), BLOCXX_NAMESPACE::TempFileBuffer::xsputn(), and BLOCXX_NAMESPACE::BaseStreamBuffer::xsputn().

const char* const ISO8601_DATE_FORMAT [static]
 

Definition at line 492 of file LogMessagePatternFormatter.cpp.

const char* const ISO8601_PATTERN [static]
 

Definition at line 493 of file LogMessagePatternFormatter.cpp.

EJustificationFlag justification
 

Definition at line 74 of file LogMessagePatternFormatter.cpp.

StringBuffer literal
 

Definition at line 877 of file LogMessagePatternFormatter.cpp.

String m_format
 

Definition at line 500 of file LogMessagePatternFormatter.cpp.

String m_literal
 

Definition at line 261 of file LogMessagePatternFormatter.cpp.

int m_precision
 

Definition at line 312 of file LogMessagePatternFormatter.cpp.

int maxWidth
 

Definition at line 73 of file LogMessagePatternFormatter.cpp.

int minWidth
 

Definition at line 72 of file LogMessagePatternFormatter.cpp.

const int NO_MAX_WIDTH = 0x7FFFFFFF [static]
 

Definition at line 77 of file LogMessagePatternFormatter.cpp.

Referenced by BLOCXX_NAMESPACE::LogMessagePatternFormatter::Converter::formatMessage().

const int NO_MIN_WIDTH = -1 [static]
 

Definition at line 76 of file LogMessagePatternFormatter.cpp.

Referenced by BLOCXX_NAMESPACE::LogMessagePatternFormatter::Converter::formatMessage().

String pattern
 

Definition at line 879 of file LogMessagePatternFormatter.cpp.

Referenced by BLOCXX_NAMESPACE::LogMessagePatternFormatter::LogMessagePatternFormatter().

UInt64 startMillis [static]
 

Definition at line 416 of file LogMessagePatternFormatter.cpp.

EParserState state
 

Definition at line 876 of file LogMessagePatternFormatter.cpp.

Referenced by BLOCXX_NAMESPACE::NonRecursiveMutex::conditionPostWait(), BLOCXX_NAMESPACE::NonRecursiveMutexImpl::conditionPreWait(), BLOCXX_NAMESPACE::NonRecursiveMutex::conditionPreWait(), BLOCXX_NAMESPACE::Condition::doTimedWait(), and BLOCXX_NAMESPACE::Condition::doWait().


Generated on Fri Jun 16 15:39:09 2006 for blocxx by  doxygen 1.4.6