This file is indexed.

/usr/include/diagnostics/set_initial_loggers.hpp is in libdiagnostics-dev 0.3.3-12build1.

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
/*
 * Diagnostics - a unified framework for code annotation, logging,
 * program monitoring, and unit-testing.
 *
 * Copyright (C) 2009 Christian Schallhart <christian@schallhart.net>,
 *                    Michael Tautschnig <tautschnig@forsyte.de>
 *               2008 model.in.tum.de group, FORSYTE group
 *               2006-2007 model.in.tum.de group
 *               2002-2005 Christian Schallhart
 *  
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */


/**
 * @file diagnostics/frame/set_initial_loggers.hpp
 *
 * @brief [LEVEL: beta] The @ref diagnostics::set_initial_loggers static hook
 *
 * $Id: set_initial_loggers.hpp,v 1.4 2005/06/23 09:54:20 esdentem Exp $
 *
 * @author Christian Schallhart
 *
 * @test none
 */

#ifndef DIAGNOSTICS__FRAME__SET_INITIAL_LOGGERS_HPP__INCLUDE_GUARD
#define DIAGNOSTICS__FRAME__SET_INITIAL_LOGGERS_HPP__INCLUDE_GUARD

#include <diagnostics/frame/namespace.hpp>

// used in the interface by reference
#include <vector>

DIAGNOSTICS_NAMESPACE_BEGIN;

// used in the interface by reference
// <diagnostics/frame/logger.hpp>
class Logger;

/** @attention The user of this library has to supply a @ref
 * set_initial_loggers procedure. This procedure is called during the
 * initialization of the logging framework, which is either triggered
 * by a call to one method of @ref Logging_Config or by a call to @ref
 * Logging_Facility::log. The rationale for this construction is that
 * static initialization might require logging, and thus the framework
 * must be fed with the correpsonding Loggers.
 *
 * @brief Places in @a loggers the initial set of loggers
 * This methods is to be supplied by the user of this library.
 *
 * @attention If a problem occurs, this method can use the @ref
 * DIAGNOSTICS_PANIC_LOG macro -- but is not allowed to throw. If it
 * throws, ::std::abotr will be called.
 *
 * @throw never
 */
void set_initial_loggers(::std::vector<Logger *> & loggers);

DIAGNOSTICS_NAMESPACE_END;

#endif

// vim:ts=4:sw=4