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

Interface for logging. More...

#include "format.hpp"
#include <atomic>
Include dependency graph for logger.hpp:

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.