This file is indexed.

/usr/include/assa-3.5/assa/StdOutLogger.h is in libassa-3.5-5-dev 3.5.1-6build1.

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
79
80
81
82
83
84
85
// -*- c++ -*-
//------------------------------------------------------------------------------
// $Id: StdOutLogger.h,v 1.3 2003/07/25 02:51:47 vlg Exp $
//------------------------------------------------------------------------------
//                            StdOutLogger.h
//------------------------------------------------------------------------------
//  Copyright (c) 2001 by Vladislav Grinchenko
//
//  This library is free software; you can redistribute it and/or
//  modify it under the terms of the GNU Library General Public
//  License as published by the Free Software Foundation; either
//  version 2 of the License, or (at your option) any later version.
//------------------------------------------------------------------------------
//  Created: 10/31/2001
//------------------------------------------------------------------------------
#ifndef STDOUT_LOGGER_H
#define STDOUT_LOGGER_H

#include <fstream>
#include <string>
#include <iostream>

#include "assa/Logger_Impl.h"

namespace ASSA {

/** @file StdOutLogger.h 
 *
 * StdOutLogger implements Logger as standard output.
 */

class StdOutLogger : public Logger_Impl
{
public:
	StdOutLogger () { /*empty*/ }

	virtual int log_open (u_long  groups_);
	virtual int log_close (void);

	virtual int log_msg (Group g_, 
						 size_t indent_level_,
						 const string& func_name_,
						 size_t expected_sz_,
						 const char* fmt_, va_list);

	virtual int log_func (Group g_, 
						  size_t indent_level_,
						  const string& func_name_,
						  marker_t type_);
	virtual void log_resync ();

private:
	StdOutLogger (const StdOutLogger&);            /// no cloning
	StdOutLogger& operator= (const StdOutLogger&); /// no cloning
};

/*******************************************************************************
 Inline member functions
*******************************************************************************/
inline int
StdOutLogger::
log_open (u_long groups_)
{
    m_groups   = groups_;
    return 0;
}

inline int
StdOutLogger::
log_close (void)
{
    return 0;
}

inline void
StdOutLogger::
log_resync ()
{
	std::cout << std::flush;
}


} // end namespace ASSA

#endif /* STDERR_LOGGER_H */