libosmscout 0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
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 logging 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

Log osmscout::log
 The one and only global instance of the logger that should get used for all logging output.
 

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

Log osmscout::log

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

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

Referenced by osmscout::AddLocationResult(), osmscout::AddPostalAreaResult(), osmscout::MapService::AddTileDataToMapData(), osmscout::MapService::AddTileDataToMapData(), osmscout::BasemapDatabase::BasemapDatabase(), osmscout::Locale::ByEnvironmentSafe(), osmscout::MultiDBRoutingService::CalculateRoute(), osmscout::AbstractRoutingService< RoutingState >::CalculateRoute(), osmscout::AreaAreaIndex::Close(), osmscout::AreaIndex::Close(), osmscout::AreaNodeIndex::Close(), osmscout::CoordDataFile::Close(), osmscout::CoverageIndex::Close(), osmscout::OptimizeAreasLowZoom::Close(), osmscout::OptimizeWaysLowZoom::Close(), osmscout::WaterIndex::Close(), osmscout::DataFile< N >::Close(), osmscout::NumericIndex< N >::Close(), osmscout::RouteNodeDataFile::Close(), osmscout::FileWriter::CloseFailsafe(), osmscout::Database::Database(), osmscout::ElevationModule::DataLoader::DataLoader(), osmscout::OsmTileDownloader::download(), osmscout::MapPainter::DrawContourLines(), osmscout::MapPainter::DrawHillShading(), osmscout::MapPainterQt::DrawLabel(), osmscout::PlaneMapRenderer::DrawMap(), osmscout::DumpGroundTile(), osmscout::MapPainterStatistics::DumpMapPainterStatistics(), osmscout::WaterIndex::DumpStatistics(), osmscout::LocationIndex::DumpStatistics(), osmscout::NumericIndex< N >::DumpStatistics(), osmscout::Cache< K, V, IK >::DumpStatistics(), osmscout::ElevationService< DataLoader >::ElevationProfile(), osmscout::SymbolRendererCairo::EndPrimitive(), osmscout::PlaneMapRenderer::FlushVisualCaches(), osmscout::OSMScoutQt::FreeInstance(), osmscout::RouteDescriptionBuilder::GenerateNextRouteInstruction(), osmscout::CoordDataFile::Get(), osmscout::Database::GetAreaAreaIndex(), osmscout::Database::GetAreaByOffset(), osmscout::Database::GetAreaDataFile(), osmscout::Database::GetAreaNodeIndex(), osmscout::Database::GetAreaRouteIndex(), osmscout::OptimizeAreasLowZoom::GetAreas(), osmscout::AreaAreaIndex::GetAreasInArea(), osmscout::Database::GetAreaWayIndex(), osmscout::Database::GetBoundingBoxDataFile(), osmscout::DataFile< N >::GetByBlockSpan(), osmscout::DataFile< N >::GetByBlockSpans(), osmscout::DataFile< N >::GetByOffset(), osmscout::DataFile< N >::GetByOffset(), osmscout::DataFile< N >::GetByOffset(), osmscout::SimpleRoutingService::GetClosestRoutableNode(), osmscout::FastestPathRoutingProfile::GetCosts(), osmscout::MapService::GetGroundTiles(), osmscout::SRTM::GetHeightAtLocation(), osmscout::SRTM::GetHeightInBoundingBox(), osmscout::Database::GetLocationIndex(), osmscout::Database::GetNodeByOffset(), osmscout::Database::GetNodeDataFile(), osmscout::Database::GetNodesByOffset(), osmscout::Database::GetNodesByOffset(), osmscout::Database::GetNodesByOffset(), osmscout::Database::GetNodesByOffset(), osmscout::Database::GetNodesByOffset(), osmscout::SearchRunnable::GetObjectDetails(), osmscout::NumericIndex< N >::GetOffset(), osmscout::AreaNodeIndex::GetOffsets(), osmscout::AreaIndex::GetOffsets(), osmscout::Database::GetOptimizeAreasLowZoom(), osmscout::Database::GetOptimizeWaysLowZoom(), osmscout::WaterIndex::GetRegions(), osmscout::SimpleRoutingService::GetRoutableNode(), osmscout::Database::GetRouteDataFile(), osmscout::MapService::GetSRTMData(), osmscout::Database::GetSRTMIndex(), osmscout::AbstractRoutingService< RoutingState >::GetStartNodes(), osmscout::AbstractRoutingService< RoutingState >::GetTargetNodes(), osmscout::BasemapDatabase::GetWaterIndex(), osmscout::Database::GetWaterIndex(), osmscout::Database::GetWayByOffset(), osmscout::Database::GetWayDataFile(), osmscout::OptimizeWaysLowZoom::GetWays(), osmscout::AbstractRoutingService< RoutingState >::GetWayTargetNodes(), osmscout::PlaneMapRenderer::HandleInitialRenderingRequest(), osmscout::PlaneMapRenderer::HandleTileStatusChanged(), osmscout::MapPainterCairo::HasIcon(), osmscout::MapPainterQt::HasIcon(), osmscout::MapPainterCairo::HasPattern(), osmscout::MapPainterQt::HasPattern(), osmscout::OpenGLMapData< TexturePixelType, TexturePixelSize >::InitContext(), osmscout::TiledMapRenderer::Initialize(), osmscout::PlaneMapRenderer::InvalidateVisualCache(), osmscout::BoundingBoxDataFile::Load(), osmscout::TextSearchIndex::Load(), osmscout::LocationIndex::Load(), osmscout::StyleConfig::Load(), osmscout::ObjectVariantDataFile::Load(), osmscout::TypeDistributionDataFile::Load(), osmscout::StyleConfig::LoadContent(), osmscout::TypeConfig::LoadFromDataFile(), osmscout::TypeConfig::LoadFromOSTFile(), osmscout::NavigationModule::loadRoutableObjects(), osmscout::LoadShader(), osmscout::LoadShaderSource(), osmscout::MapDownloader::MapDownloader(), osmscout::MapPainter::MapPainter(), osmscout::MapPainterOpenGL::MapPainterOpenGL(), osmscout::MapRenderer::MapRenderer(), osmscout::DownloadJob::onJobFailed(), osmscout::TiledMapRenderer::onLoadJobFinished(), osmscout::LocationListModel::onLocationAdminRegionFinished(), osmscout::RoutingListModel::onRouteFailed(), osmscout::Router::onRouteRequest(), osmscout::RoutingListModel::onRoutingProgress(), osmscout::RoutingDatabase::Open(), osmscout::FileScanner::Open(), osmscout::CoverageIndex::Open(), osmscout::Database::Open(), osmscout::DebugDatabase::Open(), osmscout::CoordDataFile::Open(), osmscout::NumericIndex< N >::Open(), osmscout::AreaAreaIndex::Open(), osmscout::AreaNodeIndex::Open(), osmscout::WaterIndex::Open(), osmscout::RouteNodeDataFile::Open(), osmscout::AreaIndex::Open(), osmscout::OptimizeAreasLowZoom::Open(), osmscout::OptimizeWaysLowZoom::Open(), osmscout::DataFile< N >::Open(), osmscout::AbstractRoutingProfile::ParametrizeForCar(), osmscout::OpeningHours::Parse(), osmscout::oss::Parser::Parser(), osmscout::PolygonCenter(), osmscout::RoutePostprocessor::PostprocessRouteDescription(), osmscout::ArrivalEstimateAgent::Process(), osmscout::DataAgent< DataLoader >::Process(), osmscout::PositionAgent::Process(), osmscout::CoordBuffer::PushCoord(), osmscout::Intersection::Read(), osmscout::ReadFile(), osmscout::TagRegistry::RegisterSurfaceToGradeMapping(), osmscout::VoiceManager::reload(), osmscout::PlaneMapRenderer::RenderMap(), osmscout::TiledMapRenderer::RenderMap(), osmscout::LookupModule::requestLocationDescription(), osmscout::CancelableFuture< T >::FutureBreaker::Reset(), osmscout::LocationIndex::ResolveAdminRegionHierachie(), osmscout::AbstractRoutingService< RoutingState >::ResolveRNodesToRouteData(), osmscout::AbstractRoutingService< RoutingState >::RestrictInitialUTurn(), osmscout::DBRenderJob::Run(), osmscout::DBLoadJob::Run(), osmscout::TextSearchIndex::Search(), osmscout::SearchForAddressForLocation(), osmscout::LocationService::SearchForLocationByForm(), osmscout::LocationService::SearchForLocationByString(), osmscout::SearchForLocationForPostalArea(), osmscout::SearchForLocationForRegion(), osmscout::SearchModule::SearchForLocations(), osmscout::LocationService::SearchForPOIByForm(), osmscout::SearchForPOIForRegion(), osmscout::SearchForPostalAreaForRegion(), osmscout::OverlayObject::setColor(), osmscout::SymbolRendererQt::SetFill(), osmscout::MapRenderer::SetScreen(), osmscout::TypeConfig::StoreToDataFile(), osmscout::StyleConfig::StyleConfig(), osmscout::TagRegistry::TagRegistry(), osmscout::TextLoader::TextLoader(), osmscout::OverlayArea::toArea(), osmscout::MapWidget::toggleDebug(), osmscout::MapWidget::toggleInfo(), osmscout::OverlayNode::toNode(), osmscout::OverlayWay::toWay(), osmscout::AbstractRoutingService< RoutingState >::TransformRouteDataToPoints(), osmscout::PlaneMapRenderer::TriggerMapRendering(), osmscout::TypeConfig::TypeConfig(), osmscout::VehicleFollowHandler::vehiclePosition(), osmscout::LocationIndex::VisitAddresses(), osmscout::LocationIndex::VisitAdminRegions(), osmscout::LocationIndex::VisitAdminRegions(), osmscout::LocationIndex::VisitLocations(), osmscout::LocationIndex::VisitLocations(), osmscout::LocationIndex::VisitPOIs(), osmscout::Voice::Voice(), osmscout::AbstractRoutingService< RoutingState >::WalkPaths(), osmscout::BasemapDatabase::~BasemapDatabase(), osmscout::Database::~Database(), osmscout::FileScanner::~FileScanner(), osmscout::FileWriter::~FileWriter(), osmscout::MapPainter::~MapPainter(), osmscout::StyleConfig::~StyleConfig(), osmscout::TagRegistry::~TagRegistry(), and osmscout::TypeConfig::~TypeConfig().