libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
Logging

A logger is a special output stream, that is used by the library. More...

Classes

class  osmscout::ConsoleLogger
 The console logger extends the StreamLogger by assigning std::cout for normal loging output and std::cerr for error output. More...
 
class  osmscout::Log
 Simple logging proxy object that encapsulates one exchangeable global logger instance. More...
 
class  osmscout::Logger
 A logger is a special output stream. More...
 
class  osmscout::Logger::Destination
 Abstract base class for printing log information to a specific output sink. More...
 
class  osmscout::Logger::Line
 A log consists of a number of lines. More...
 
class  osmscout::NoOpLogger
 Special Logger that just does not output the logged information. More...
 
class  osmscout::StreamLogger
 The StreamLogger allows to direct logging output to a standard library std::ostream. More...
 

Variables

OSMSCOUT_API Log osmscout::log
 The one an donly global instance of the logger that should get used for all logging output. More...
 

Detailed Description

A logger is a special output stream, that is used by the library.

The logger has a uniform interface independent of the actual data sink the information is stored to.

This allows the application developer (and library user) to redirect logging output either to the console, to some special OS information sink, to "nowhere", to a file or any other location.

The actual logger used can get exchanged by using Log::SetLogger.

Variable Documentation

Log osmscout::log

The one an donly global instance of the logger that should get used for all logging output.

Referenced by osmscout::MapService::AddTileDataToMapData(), atanh(), osmscout::RoutingService::CalculateRoute(), osmscout::CoordDataFile::Close(), osmscout::AreaNodeIndex::Close(), osmscout::AreaWayIndex::Close(), osmscout::OptimizeWaysLowZoom::Close(), osmscout::WaterIndex::Close(), osmscout::OptimizeAreasLowZoom::Close(), osmscout::NumericIndex< N >::Close(), osmscout::DataFile< N >::Close(), osmscout::AreaAreaIndex::Close(), DBThread::DBThread(), osmscout::MapPainter::Draw(), PlaneMapRenderer::DrawMap(), osmscout::WaterIndex::DumpStatistics(), osmscout::LocationIndex::DumpStatistics(), osmscout::NumericIndex< N >::DumpStatistics(), osmscout::CoordDataFile::Get(), osmscout::OptimizeAreasLowZoom::GetAreas(), osmscout::AreaAreaIndex::GetAreasInArea(), osmscout::DataFile< N >::GetByBlockSpan(), osmscout::DataFile< N >::GetByBlockSpans(), osmscout::DataFile< N >::GetByOffset(), osmscout::RoutingService::GetClosestRoutableNode(), osmscout::MapService::GetGroundTiles(), osmscout::NumericIndex< N >::GetOffset(), osmscout::AreaNodeIndex::GetOffsets(), osmscout::AreaWayIndex::GetOffsets(), osmscout::WaterIndex::GetRegions(), osmscout::OptimizeWaysLowZoom::GetWays(), PlaneMapRenderer::HandleInitialRenderingRequest(), PlaneMapRenderer::HandleTileStatusChanged(), osmscout::MapPainterQt::HasIcon(), osmscout::MapPainterQt::HasPattern(), osmscout::SRTM::heightAtLocation(), PlaneMapRenderer::InvalidateVisualCache(), OSMTile::lat2tiley(), osmscout::BoundingBoxDataFile::Load(), osmscout::ObjectVariantDataFile::Load(), osmscout::TypeDistributionDataFile::Load(), osmscout::TextSearchIndex::Load(), osmscout::LocationIndex::Load(), osmscout::StyleConfig::Load(), osmscout::LocationService::LoadNearAreas(), osmscout::LocationService::LoadNearNodes(), osmscout::LocationService::LoadNearWays(), log2(), osmscout::MapPainter::MapPainter(), MapRenderer::MapRenderer(), MapDownloadJob::onJobFailed(), TiledMapRenderer::onLoadJobFinished(), osmscout::CoordDataFile::Open(), osmscout::DebugDatabase::Open(), osmscout::OptimizeWaysLowZoom::Open(), osmscout::AreaNodeIndex::Open(), osmscout::AreaWayIndex::Open(), osmscout::OptimizeAreasLowZoom::Open(), osmscout::WaterIndex::Open(), osmscout::FileScanner::Open(), osmscout::DataFile< N >::Open(), osmscout::NumericIndex< N >::Open(), osmscout::AreaAreaIndex::Open(), osmscout::RoutingService::Open(), osmscout::AbstractRoutingProfile::ParametrizeForCar(), osmscout::RoutePostprocessor::PostprocessRouteDescription(), osmscout::RoutePostprocessor::DistanceAndTimePostprocessor::Process(), osmscout::RoutePostprocessor::MotorwayJunctionPostprocessor::Process(), PlaneMapRenderer::RenderMap(), TiledMapRenderer::RenderMap(), osmscout::LocationIndex::ResolveAdminRegionHierachie(), DBRenderJob::Run(), osmscout::TextSearchIndex::Search(), osmscout::LocationService::SearchForLocations(), osmscout::StyleConfig::StyleConfig(), MapWidget::toggleDebug(), MapWidget::toggleInfo(), osmscout::RoutingService::TransformRouteDataToPoints(), PlaneMapRenderer::TriggerMapRendering(), osmscout::LocationIndex::VisitAdminRegionLocations(), osmscout::LocationIndex::VisitAdminRegions(), osmscout::LocationIndex::VisitLocationAddresses(), DBThread::~DBThread(), osmscout::FileScanner::~FileScanner(), osmscout::FileWriter::~FileWriter(), osmscout::HTMLWriter::~HTMLWriter(), osmscout::MapPainter::~MapPainter(), and osmscout::StyleConfig::~StyleConfig().