17 m_level =
msg->outputLevel(
"POSIXFileHandler" );
33 int mm = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;
35 fd = open(
n.c_str(), (int)f,
mm );
61 ptr = fdopen(
fd,
m.c_str() );
85 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.