libosmscout 1.1.1
Loading...
Searching...
No Matches
Logging

Classes

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

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
extern

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.