CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
logging.h File Reference
#include <string>
#include "util/export.h"
#include "util/logging_internal.h"
Include dependency graph for logging.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LogCvmfs(source, mask,...)
 

Functions

CVMFS_EXPORT void vLogCvmfs (const LogSource source, const int mask, const char *format, va_list variadic_list)
 
 __attribute__ ((format(printf, 3, 4))) CVMFS_EXPORT void LogCvmfs(const LogSource source
 

Variables

const int mask
 
const int const char * format
 

Macro Definition Documentation

#define LogCvmfs (   source,
  mask,
  ... 
)
Value:
(((mask) == static_cast<int>(kLogDebug)) ? \
((void)0) : LogCvmfs(source, mask, __VA_ARGS__));
#define LogCvmfs(source, mask,...)
Definition: logging.h:26
const int mask
Definition: logging.h:23

Definition at line 26 of file logging.h.

Function Documentation

__attribute__ ( (format(printf, 3, 4))  ) const
CVMFS_EXPORT void vLogCvmfs ( const LogSource  source,
const int  mask,
const char *  format,
va_list  variadic_list 
)

This file is part of the CernVM File System.

Logs a message to one or multiple facilities specified by mask. Mask can be extended by a log level in the future, using the higher bits.

Parameters
[in]sourceComponent that triggers the logging
[in]maskBit mask of log facilities
[in]formatFormat string followed by arguments like printf

Definition at line 423 of file logging.cc.

Referenced by LogCvmfs().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const int const char* format

Definition at line 23 of file logging.h.

Referenced by Log2Histogram::ToString().