libosmscout  1.1.1
Classes | Variables
Logging

Classes

class  osmscout::Logger::Destination
 
class  osmscout::Logger::Line
 
class  osmscout::Logger
 
class  osmscout::NoOpLogger
 
class  osmscout::StreamLogger
 
class  osmscout::ConsoleLogger
 
class  osmscout::Log
 

Variables

OSMSCOUT_API Log osmscout::log
 

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_API Log osmscout::log

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