Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

Phx::Log Class Reference

The Log's Named interface to easaly creates and call the log's outputstream. More...

#include <PhxLog.h>

Inheritance diagram for Phx::Log:

Phx::NamedInterface Phx::LockedPtrInterface< NamedInterface > List of all members.

Public Member Functions

virtual Ptr< OutputStream > newOutputStream (const String &prefix)=0
 Create a new LogStream.
virtual void newMessage (const String &name, Mode mode, const char *file, int line, const String &message)=0
 Create a new LogStreamLogs a single message.

Static Public Attributes

static const NamedInterface::Type INTERFACE_TYPE
static const String INTERFACE_TYPE_NAME
static const NamedInterface::Identifier LOG_IDENTIFIER
static const String LOG_NAME

Classes

class  OutputStream

Detailed Description

The Log's Named interface to easaly creates and call the log's outputstream.


Member Function Documentation

virtual void Phx::Log::newMessage const String &  name,
Mode  mode,
const char *  file,
int  line,
const String &  message
[pure virtual]
 

Create a new LogStreamLogs a single message.

Use this when you cannot safely acquire an output stream. This will usually be the case for Descriptions and value-types that cannot keep state information. Entities should acquire an output stream if they plan to log many messages.

virtual Ptr< OutputStream > Phx::Log::newOutputStream const String &  prefix  )  [pure virtual]
 

Create a new LogStream.

Note:
this is to be replaced with outputStream.
Parameters:
prefix The name of the outputstream
Returns:
A outputstream to the log.


The documentation for this class was generated from the following file:
Generated on Mon Jul 10 19:45:30 2006 for Phoenix OSFS by  doxygen 1.4.2