/usr/include/globjects/objectlogging.inl 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 | #pragma once
#include <globjects/Uniform.h>
namespace globjects
{
template <typename T>
LogMessageBuilder operator<<(LogMessageBuilder builder, const Uniform<T> * uniform)
{
builder << "Uniform" << "(";
if (uniform->identity().isName())
builder << uniform->identity().name();
else
builder << uniform->identity().location();
builder << ", " << uniform->value() << ")";
return builder;
}
template <typename T>
LogMessageBuilder operator<<(LogMessageBuilder builder, Uniform<T> * uniform)
{
return operator<<(builder, const_cast<const Uniform<T>*>(uniform));
}
} // namespace globjects
|