libfilezilla
Classes | Namespaces | Enumerations | Functions
logger.hpp File Reference

Interface for logging. More...

#include "format.hpp"
#include <atomic>
Include dependency graph for logger.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  logger_interface
 Abstract interface for logging strings. More...
 
class  null_logger
 A logger that does not log anything. More...
 
class  stdout_logger
 A simple logger that writes to stdout. More...
 

Namespaces

 fz
 The namespace used by libfilezilla.
 

Enumerations

enum  type : uint64_t {
  status = 1ull , error = 1ull << 1 , command = 1ull << 2 , reply = 1ull << 3 ,
  debug_warning = 1ull << 4 , debug_info = 1ull << 5 , debug_verbose = 1ull << 6 , debug_debug = 1ull << 7 ,
  custom1 = 1ull << 32 , custom32 = 1ull << 63
}
 

Functions

null_logger & get_null_logger ()
 

Detailed Description

Interface for logging.

Enumeration Type Documentation

◆ type

enum type : uint64_t
Enumerator
status 

Generic status messages aimed at the user.

error 

Error messages aimed at the user.

command 

Commands, aimed at the users.

reply 

Replies, aimed at the users.

debug_warning 

Debug messages aimed at developers.

custom1 

The types in the range custom1 to custom32 are free to use by programs using libfilezilla for their own use

Examples
raw_https.cpp.