Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
How is the following supposed to be used? Only doc is below, and no example in slogTest.cpp. Maybe "slog.error() << "message" << endl" ?
Slog& Slog::error ( void ) [inline]
Yes, you would use, either:
slog.error() << "myslog " << errno << endl;
or you can alternately do:
slog.error("myslog %d", errno);
as a varargs version also exists.