libzypp  17.25.2
LogControl.cc File Reference
#include <iostream>
#include <fstream>
#include <string>
#include <mutex>
#include <zypp/base/Logger.h>
#include <zypp/base/LogControl.h>
#include <zypp/base/ProfilingFormater.h>
#include <zypp/base/String.h>
#include <zypp/Date.h>
#include <zypp/PathInfo.h>
#include <zypp/AutoDispose.h>
#include <zypp/zyppng/io/Socket>
#include <zypp/zyppng/io/SockAddr>
#include <zypp/zyppng/base/EventLoop>
#include <zypp/zyppng/base/EventDispatcher>
#include <zypp/zyppng/base/Timer>
#include <zypp/zyppng/base/private/linuxhelpers_p.h>
#include <zypp/zyppng/thread/Wakeup>
#include <zypp/zyppng/base/private/threaddata_p.h>
#include <zypp/zyppng/base/SocketNotifier>
#include <thread>
#include <variant>
#include <atomic>
#include <csignal>
Include dependency graph for LogControl.cc:

Go to the source code of this file.

Classes

class  zypp::SpinLock
 
class  zypp::LogThread
 
class  zypp::LogClient
 
class  zypp::base::logger::Loglinebuf
 
class  zypp::base::logger::Loglinestream
 
struct  zypp::base::logger::LogControlImpl
 LogControl implementation (Singleton). More...
 

Namespaces

 zypp
 Easy-to use interface to the ZYPP dependency resolver.
 
 zypp::debug
 
 zypp::log
 
 zypp::base
 
 zypp::base::logger
 

Functions

void zypp::debug::osdlog (const std::string &msg_r, unsigned level_r)
 
void zypp::base::logger::putStream (const std::string &group_r, LogLevel level_r, const char *file_r, const char *func_r, int line_r, const std::string &buffer_r)
 That's what Loglinebuf calls. More...
 
static std::atomic_int & zypp::base::logger::logControlImplReg ()
 
std::ostream & zypp::base::logger::getStream (const char *group_r, LogLevel level_r, const char *file_r, const char *func_r, const int line_r)
 Return a log stream to write on. More...
 
bool zypp::base::logger::isExcessive ()
 
std::ostream & zypp::base::operator<< (std::ostream &str, const LogControl &obj)
 

Variables

std::once_flag flagReadEnvAutomatically
 
template<class >
constexpr bool zypp::always_false_v = false
 

Variable Documentation

◆ flagReadEnvAutomatically

std::once_flag flagReadEnvAutomatically

Definition at line 42 of file LogControl.cc.