FC++  v0.7.1-1067
FileCatalyst Fast File Transfers - C++ Library
FCLogging.hpp File Reference

Helper functions to manage the different types of FC++ logging. More...

#include "FileCatalyst.hpp"
Include dependency graph for FCLogging.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 fc
 All of the FileCatalyst classes and objects are declared within the fc namespace.
 
 fc::Logging
 The fc::Logging namespace contains helper functions to easily manage the different types of logging available in FC++.
 

Enumerations

enum  fc::Logging::EType {
  fc::Logging::EType::kInvalid = 0,
  fc::Logging::EType::kDebug,
  fc::Logging::EType::kTrace,
  fc::Logging::EType::kException,
  fc::Logging::EType::kSummary,
  fc::Logging::EType::kNone,
  fc::Logging::EType::kMinimal,
  fc::Logging::EType::kNormal,
  fc::Logging::EType::kAll
}
 

Functions

bool fc::Logging::enable (const EType type, fc::Options &options, const std::string &log_directory="")
 Enable the specified type of logging. More...
 
bool fc::Logging::disable (const EType type, fc::Options &options)
 Disable the specified logging type. More...
 
std::string fc::Logging::get_filename (const EType type)
 Get the filename for the specified log type. More...
 

Detailed Description

Helper functions to manage the different types of FC++ logging.