DotNX::Ftp::ConsoleLogger Class Reference

A simple logger that outputs messages to the process's console. More...

Inheritance diagram for DotNX::Ftp::ConsoleLogger:

DotNX::Ftp::ILogger

List of all members.

Public Member Functions

 ConsoleLogger ()
void Log (string msg)
 Logs a message.
void Log (Reply rep)
 Logs a server Reply.
void Log (Reply rep, string prefix)
 Logs a Server reply.


Detailed Description

A simple logger that outputs messages to the process's console.


Constructor & Destructor Documentation

DotNX::Ftp::ConsoleLogger::ConsoleLogger (  ) 


Member Function Documentation

void DotNX::Ftp::ConsoleLogger::Log ( string  msg  ) 

Logs a message.

Parameters:
msg The message to log.

Implements DotNX::Ftp::ILogger.

void DotNX::Ftp::ConsoleLogger::Log ( Reply  rep  ) 

Logs a server Reply.

Parameters:
rep The Reply to log.

Implements DotNX::Ftp::ILogger.

void DotNX::Ftp::ConsoleLogger::Log ( Reply  rep,
string  prefix 
)

Logs a Server reply.

Parameters:
rep The Reply to log.
prefix A prefix to antepose to each log line.

Implements DotNX::Ftp::ILogger.


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

SourceForge.net Logo
Generated on Sat Oct 18 14:13:26 2008 for .Nick's 0.1.0 by  doxygen 1.5.7.1