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::RoutingService::CalculateRoute(), osmscout::CoordDataFile::Close(), osmscout::AreaNodeIndex::Close(), osmscout::OptimizeWaysLowZoom::Close(), osmscout::AreaWayIndex::Close(), osmscout::OptimizeAreasLowZoom::Close(), osmscout::WaterIndex::Close(), osmscout::DataFile< N >::Close(), osmscout::NumericIndex< 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::RoutingService::GetClosestRoutableNode(), osmscout::MapService::GetGroundTiles(), osmscout::NumericIndex< N >::GetOffset(), osmscout::AreaNodeIndex::GetOffsets(), osmscout::AreaWayIndex::GetOffsets(), osmscout::WaterIndex::GetRegions(), osmscout::OptimizeWaysLowZoom::GetWays(), osmscout::BoundingBoxDataFile::Load(), osmscout::ObjectVariantDataFile::Load(), osmscout::TypeDistributionDataFile::Load(), osmscout::TextSearchIndex::Load(), osmscout::LocationIndex::Load(), osmscout::StyleConfig::Load(), TiledMapRenderer::onLoadJobFinished(), RoutingListModel::onRouteFailed(), 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(), DBThread::requestLocationDescription(), osmscout::LocationIndex::ResolveAdminRegionHierachie(), osmscout::TextSearchIndex::Search(), osmscout::LocationService::SearchForLocations(), osmscout::oss::Errors::SynErr(), osmscout::RoutingService::TransformRouteDataToPoints(), osmscout::LocationIndex::VisitAddresses(), osmscout::LocationIndex::VisitAdminRegions(), osmscout::LocationIndex::VisitLocations(), and osmscout::LocationIndex::VisitPOIs().

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: