libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::Log Class Reference

Simple logging proxy object that encapsulates one exchangeable global logger instance. More...

#include <Logger.h>

Public Member Functions

LogDebug (bool state)
 
Logger::Line Debug ()
 
LogError (bool state)
 
Logger::Line Error ()
 
LogInfo (bool state)
 
Logger::Line Info ()
 
bool IsDebug () const
 
bool IsError () const
 
bool IsInfo () const
 
bool IsWarn () const
 
 Log ()
 
void SetLogger (Logger *logger)
 
LogWarn (bool state)
 
Logger::Line Warn ()
 
 ~Log ()
 

Detailed Description

Simple logging proxy object that encapsulates one exchangeable global logger instance.

Log should behave as Logger in all other cases.

Constructor & Destructor Documentation

osmscout::Log::Log ( )

References Debug().

osmscout::Log::~Log ( )

References Debug().

Member Function Documentation

Logger::Line osmscout::Log::Debug ( )

References osmscout::Logger::Debug().

Referenced by Log(), and ~Log().

Log& osmscout::Log::Error ( bool  state)
inline

Referenced by osmscout::AbstractRoutingService< RoutingState >::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(), PlaneMapRenderer::DrawMap(), osmscout::oss::Errors::Error(), osmscout::oss::Errors::Exception(), osmscout::CoordDataFile::Get(), osmscout::OptimizeAreasLowZoom::GetAreas(), osmscout::AreaAreaIndex::GetAreasInArea(), osmscout::DataFile< N >::GetByBlockSpan(), osmscout::DataFile< N >::GetByBlockSpans(), osmscout::DataFile< N >::GetByOffset(), osmscout::SimpleRoutingService::GetClosestRoutableNode(), osmscout::MapService::GetGroundTiles(), osmscout::NumericIndex< N >::GetOffset(), osmscout::AreaNodeIndex::GetOffsets(), osmscout::AreaWayIndex::GetOffsets(), osmscout::WaterIndex::GetRegions(), osmscout::AbstractRoutingService< RoutingState >::GetRNode(), osmscout::AbstractRoutingService< RoutingState >::GetStartNodes(), osmscout::AbstractRoutingService< RoutingState >::GetTargetNodes(), osmscout::OptimizeWaysLowZoom::GetWays(), osmscout::AbstractRoutingService< RoutingState >::GetWayStartNodes(), osmscout::AbstractRoutingService< RoutingState >::GetWayTargetNodes(), osmscout::BoundingBoxDataFile::Load(), osmscout::ObjectVariantDataFile::Load(), osmscout::TypeDistributionDataFile::Load(), osmscout::TextSearchIndex::Load(), osmscout::LocationIndex::Load(), osmscout::StyleConfig::Load(), osmscout::RoutePostprocessor::LoadJunction(), TiledMapRenderer::onLoadJobFinished(), osmscout::RouterDBFiles::Open(), osmscout::CoordDataFile::Open(), osmscout::DebugDatabase::Open(), osmscout::OptimizeWaysLowZoom::Open(), osmscout::AreaNodeIndex::Open(), osmscout::AreaWayIndex::Open(), osmscout::OptimizeAreasLowZoom::Open(), osmscout::WaterIndex::Open(), osmscout::DataFile< N >::Open(), osmscout::NumericIndex< N >::Open(), osmscout::AreaAreaIndex::Open(), osmscout::SimpleRoutingService::Open(), osmscout::AbstractRoutingProfile::ParametrizeForCar(), osmscout::RoutePostprocessor::PostprocessRouteDescription(), osmscout::RoutePostprocessor::MotorwayJunctionPostprocessor::Process(), LookupModule::requestLocationDescription(), osmscout::LocationIndex::ResolveAdminRegionHierachie(), osmscout::AbstractRoutingService< RoutingState >::ResolveRNodesToRouteData(), osmscout::SimpleRoutingService::ResolveRouteDataJunctions(), osmscout::TextSearchIndex::Search(), osmscout::LocationService::SearchForLocations(), osmscout::oss::Errors::SynErr(), osmscout::AbstractRoutingService< RoutingState >::TransformRouteDataToPoints(), osmscout::LocationIndex::VisitAddresses(), osmscout::LocationIndex::VisitAdminRegions(), osmscout::LocationIndex::VisitLocations(), osmscout::LocationIndex::VisitPOIs(), and osmscout::AbstractRoutingService< RoutingState >::WalkPaths().

Logger::Line osmscout::Log::Error ( )
Logger::Line osmscout::Log::Info ( )
bool osmscout::Log::IsDebug ( ) const
inline

Referenced by MapWidget::toggleDebug().

bool osmscout::Log::IsError ( ) const
inline
bool osmscout::Log::IsInfo ( ) const
inline

Referenced by MapWidget::toggleInfo().

bool osmscout::Log::IsWarn ( ) const
inline
void osmscout::Log::SetLogger ( Logger logger)
Logger::Line osmscout::Log::Warn ( )

The documentation for this class was generated from the following files: