xrootd
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
XrdCl::LogOutFile Class Reference

Write log messages to a file. More...

#include <XrdClLog.hh>

Inheritance diagram for XrdCl::LogOutFile:
Inheritance graph
[legend]
Collaboration diagram for XrdCl::LogOutFile:
Collaboration graph
[legend]

Public Member Functions

 LogOutFile ()
 
virtual ~LogOutFile ()
 
bool Open (const std::string &fileName)
 Open the log file.
 
void Close ()
 Close the log file.
 
virtual void Write (const std::string &message)
 
- Public Member Functions inherited from XrdCl::LogOut
virtual ~LogOut ()
 

Private Attributes

int pFileDes
 

Detailed Description

Write log messages to a file.

Constructor & Destructor Documentation

◆ LogOutFile()

XrdCl::LogOutFile::LogOutFile ( )
inline

◆ ~LogOutFile()

virtual XrdCl::LogOutFile::~LogOutFile ( )
inlinevirtual

References Close().

Member Function Documentation

◆ Close()

void XrdCl::LogOutFile::Close ( )

Close the log file.

Referenced by ~LogOutFile().

◆ Open()

bool XrdCl::LogOutFile::Open ( const std::string &  fileName)

Open the log file.

◆ Write()

virtual void XrdCl::LogOutFile::Write ( const std::string &  message)
virtual

Write a message to the destination

Parameters
messagemessage to be written

Implements XrdCl::LogOut.

Member Data Documentation

◆ pFileDes

int XrdCl::LogOutFile::pFileDes
private

The documentation for this class was generated from the following file: