This file is indexed.

/usr/include/IGSTK/igstkLogger.h is in libigstk4-dev 4.4.0-2build2.

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
/*=========================================================================

  Program:   Image Guided Surgery Software Toolkit
  Module:    $RCSfile: igstkLogger.h,v $
  Language:  C++
  Date:      $Date: 2008-02-11 01:41:50 $
  Version:   $Revision: 1.6 $

  Copyright (c) ISC  Insight Software Consortium.  All rights reserved.
  See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm for details.

     This software is distributed WITHOUT ANY WARRANTY; without even
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
     PURPOSE.  See the above copyright notices for more information.

=========================================================================*/
#ifndef __igstkLogger_h
#define __igstkLogger_h

#include "itkLogger.h"
#include "igstkMacros.h"
#include "itkObject.h"

namespace igstk
{
/** \class Logger
 *
 *  \brief Class used for handling logging tasks.
 *
 *  This class derives from the ITK Logger. Its
 *  purpose is two-fold. First, it specifies the default
 *  priority level of messages. Second, it implements the
 *  ShouldBuildMessage API which enables lazy evaluation of
 *  messages passed to a logger through the logging macros.
 */
class Logger : public ::itk::Logger
{
public:
  /** General Typedefs. */
  typedef Logger                            Self;
  typedef ::itk::Logger                     Superclass;
  typedef ::itk::SmartPointer< Self >       Pointer;
  typedef ::itk::SmartPointer< const Self > ConstPointer;

  /** We do not use macros for New(), GetNameOfClass()
   *  since igstkLogger.h is included in
   *  igstkMacros.h
   */
  virtual const char* GetNameOfClass() const
    {
    return "Logger";
    }

  /** Makes a new Logger and returns a smart pointer to it. */
  static Pointer New(void)
    {
    Pointer smartPtr;
    Self *rawPtr = new Self;
    smartPtr = rawPtr;
    rawPtr->UnRegister();
    return smartPtr;
    }

  /** Returns true if the priority level of the message will cause
   *  the message to be written to a log.
   */
  virtual bool ShouldBuildMessage(PriorityLevelType message_level);

protected:

  /** Constructor */
  Logger();

  /** Destructor */
  virtual ~Logger();

}; // Logger

} // namespace igstk

#endif // __igstkLogger_h