ldas-tools-ldasgen  2.7.1
Typedefs | Functions | Variables
Logging.cc File Reference
#include "ldasgen_config.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <time.h>
#include <unistd.h>
#include <sstream>
#include <boost/pointer_cast.hpp>
#include "ldastoolsal/MemChecker.hh"
#include "ldastoolsal/MkDir.hh"
#include "ldastoolsal/System.hh"
#include "ldastoolsal/unordered_map.hh"
#include "genericAPI/Logging.hh"
#include "genericAPI/LogHTML.hh"
#include "genericAPI/LogText.hh"
#include "genericAPI/LDASplatform.hh"
Include dependency graph for Logging.cc:

Typedefs

typedef unordered_map< std::string, log_type::element_type::message_type > group_map_type
 
typedef unordered_map< std::string, log_type > log_container_type
 

Functions

void close_log (const std::string &Filename)
 
static log_type find_log (const std::string &Filename)
 
static group_map_typegroup_map_init ()
 
static log_type default_log (new GenericAPI::Log::HTML(""))
 
 SINGLETON_INSTANCE_DEFINITION (LDASTools::AL::SingletonHolder< GenericAPI::LoggingInfo >) namespace GenericAPI
 
static void unregister_logs ()
 

Variables

static group_map_typegroup_map = group_map_init( )
 
static MutexLock::baton_type logs_baton
 
static std::string log_default_filename
 
static log_container_type logs
 

Typedef Documentation

◆ group_map_type

typedef unordered_map< std::string, log_type::element_type::message_type > group_map_type

◆ log_container_type

typedef unordered_map< std::string, log_type > log_container_type

Function Documentation

◆ close_log()

void close_log ( const std::string &  Filename)
inline

◆ default_log()

static log_type default_log ( new   GenericAPI::Log::HTML"")
static

◆ find_log()

static log_type find_log ( const std::string &  Filename)
static

◆ group_map_init()

static group_map_type & group_map_init ( )
static

◆ SINGLETON_INSTANCE_DEFINITION()

SINGLETON_INSTANCE_DEFINITION ( LDASTools::AL::SingletonHolder< GenericAPI::LoggingInfo )

◆ unregister_logs()

static void unregister_logs ( )
static

Variable Documentation

◆ group_map

group_map_type& group_map = group_map_init( )
static

◆ log_default_filename

std::string log_default_filename
static

◆ logs

log_container_type logs
static

◆ logs_baton

MutexLock::baton_type logs_baton
static