hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Logger.hpp File Reference
#include <Poco/Util/AbstractConfiguration.h>
#include <Poco/PatternFormatter.h>
#include <Poco/FileChannel.h>
#include <Poco/FormattingChannel.h>
#include <Poco/AutoPtr.h>
#include <Poco/Logger.h>
#include <Poco/ScopedLock.h>
#include <iostream>
#include <sstream>
#include <Poco/SharedPtr.h>
#include "exceptions/ChannelNotExistException.hpp"
Include dependency graph for Logger.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HCE::Logger

Namespaces

namespace  HCE
 < HCE::ServerApplication provides global variable 'HCE::database::Session' which initializes in function 'HCE::ServerApplication::initializeDataBaseSession()'

Macros

#define DEFAULT_LOG_SUFFIX   ".log.txt"
#define DEFAULT_LOG_ALWAYS_USE_DEF_LOG   true
#define DEFAULT_LOG_LEVEL   "information"
#define DEFAULT_LOG_NAME   "Application"
#define DEFAULT_LOG_PATTERN_FORMATTER   "%Y-%m-%d %H:%M:%S.%c %N[%P] :%p:%t %U:%u"
#define DEFAULT_LOG_ERROR   "Default log is not exist"
#define MESSAGE_WRITTEN_INTO_UNREGISTER_LOG   "message written into unregister log"
#define CHANNELS   "CHANNELS"
#define PATTERN_FORMATTER   "PatternFormatter"
#define BASE_NAME   "application.baseName"
#define ALWAYS_USE_DEFAULT_LOG   "LOG.alwaysUseDefaultLog"
#define LOG_LEVEL   "LOG.log_level"
#define DEFAULT_PURGE_AGE   "1 months"
#define DEFAULT_ARCHIVE   "timestamp"
#define DEFAULT_ROTATION   "daily"
#define LOGGER_ON_DEFAULT_LEVEL   7
#define LOGGER_OFF_LEVEL   0

Macro Definition Documentation

#define ALWAYS_USE_DEFAULT_LOG   "LOG.alwaysUseDefaultLog"

Definition at line 30 of file Logger.hpp.

#define BASE_NAME   "application.baseName"

Definition at line 29 of file Logger.hpp.

#define CHANNELS   "CHANNELS"

Definition at line 27 of file Logger.hpp.

#define DEFAULT_ARCHIVE   "timestamp"

Definition at line 34 of file Logger.hpp.

#define DEFAULT_LOG_ALWAYS_USE_DEF_LOG   true

Definition at line 19 of file Logger.hpp.

#define DEFAULT_LOG_ERROR   "Default log is not exist"

Definition at line 24 of file Logger.hpp.

#define DEFAULT_LOG_LEVEL   "information"

Definition at line 20 of file Logger.hpp.

#define DEFAULT_LOG_NAME   "Application"

Definition at line 22 of file Logger.hpp.

#define DEFAULT_LOG_PATTERN_FORMATTER   "%Y-%m-%d %H:%M:%S.%c %N[%P] :%p:%t %U:%u"

Definition at line 23 of file Logger.hpp.

#define DEFAULT_LOG_SUFFIX   ".log.txt"

Definition at line 17 of file Logger.hpp.

#define DEFAULT_PURGE_AGE   "1 months"

Definition at line 33 of file Logger.hpp.

#define DEFAULT_ROTATION   "daily"

Definition at line 35 of file Logger.hpp.

#define LOG_LEVEL   "LOG.log_level"

Definition at line 31 of file Logger.hpp.

#define LOGGER_OFF_LEVEL   0

Definition at line 38 of file Logger.hpp.

#define LOGGER_ON_DEFAULT_LEVEL   7

Definition at line 37 of file Logger.hpp.

#define MESSAGE_WRITTEN_INTO_UNREGISTER_LOG   "message written into unregister log"

Definition at line 25 of file Logger.hpp.

#define PATTERN_FORMATTER   "PatternFormatter"

Definition at line 28 of file Logger.hpp.