This file is indexed.

/usr/include/globjects/base/baselogging.h is in libglobjects-dev 1.1.0-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#pragma once

#include <globjects/globjects_api.h>

#include <globjects/base/LogMessage.h>
#include <globjects/base/LogMessageBuilder.h>


namespace globjects
{


class AbstractLogHandler;

/**
  * Creates a stream like object (LogMessageBuilder) to create a LogMessage from the objects
  * passed to it and sends the LogMessage to the global LogMessageHandler when the builder goes out of scope.
  * Similar to `qDebug()` from Qt.
  *
  * \code{.cpp}
  * info() << "Message: " << 3.14;
  * \endcode
  */
GLOBJECTS_API LogMessageBuilder info(LogMessageLevel level = LogMessageLevel::Info);
GLOBJECTS_API LogMessageBuilder debug();
GLOBJECTS_API LogMessageBuilder warning();
GLOBJECTS_API LogMessageBuilder critical();
GLOBJECTS_API LogMessageBuilder fatal();

GLOBJECTS_API void setLoggingHandler(AbstractLogHandler * handler);
GLOBJECTS_API AbstractLogHandler * loggingHandler();

GLOBJECTS_API void setVerbosityLevel(LogMessageLevel verbosity);
GLOBJECTS_API LogMessageLevel verbosityLevel();

/**
 * Uses formatString to write on the usual logging streams.
 *
 *  Sample usage:
 *  \code{.cpp}
 *      info("This is a test: %; pi = %+0E10.5;", 42, 3.141592653589793); // output: "This is a test: 42 pi = +3.14159E+00"
 *      info("%; - %X; - %rf?_10.2;", "a string", 255, 2.71828182846); // output: "a string - 255 - ______2.72"
 *  \endcode
 *
 *   \see formatString
 */
template <typename... Arguments>
void info(const char* format, Arguments... arguments);

/**
 *  \see info
 */
template <typename... Arguments>
void debug(const char* format, Arguments... arguments);

/**
 *  \see info
 */
template <typename... Arguments>
void warning(const char* format, Arguments... arguments);

/**
 *  \see info
 */
template <typename... Arguments>
void critical(const char* format, Arguments... arguments);

/**
 *  \see info
 */
template <typename... Arguments>
void fatal(const char* format, Arguments... arguments);


} // namespace globjects


#include <globjects/base/baselogging.inl>