35 int mm = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;
37 fd = open( n.
c_str(), (int)f, mm );
63 ptr = fdopen( fd, m.
c_str() );
88 if ( close( fd ) != 0 ) {
Io::close_t closePOSIXFile(Io::Fd fd)
Io::reopen_t reopenPOSIXFile(Io::Fd fd, const Io::IoFlags &)
POSIXFileHandler(IMessageSvc *)
The IMessage is the interface implemented by the message service.
Io::open_t openPOSIXFile(const std::string &n, const Io::IoFlags &f, const std::string &desc, Io::Fd &fd, void *&ptr)
void setLevel(int level)
Update outputlevel.
MSG::Level level() const
Retrieve output level.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
virtual int outputLevel() const =0
Retrieve the current output level threshold.