You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Apache Wiki <wi...@apache.org> on 2006/07/21 14:12:37 UTC

[Ws Wiki] Update of "Tuscany/TuscanyCpp/DesignNotes" by GeoffWinn

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.

The following page has been changed by GeoffWinn:
http://wiki.apache.org/ws/Tuscany/TuscanyCpp/DesignNotes

New page:
= Logging =

Logging is not mentioned in the V2.01 specification, however, a rudimentary logging capability is provided in the current implementation, using three classes.

 * Log``Writer

   This defines an abstract class with a single '''log''' method.

 * Default``Log``Writer

   Instantiates '''Log``Writer''' implementng a '''log''' method that writes to '''cout'''

 * Logger

   A class with a static pointer to a '''Log``writer''' object. When the class is loaded the pointer is initialized to a reference to an instance of '''Default``Log``Writer'''. '''Logger''' provides its own '''log''' and '''logArgs''' methods that use the '''log''' method of '''Default``Log``Writer'''

In the current implementation, logging is seldom used.

= Conversion from C style strings to C++ style strings =

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@ws.apache.org
For additional commands, e-mail: general-help@ws.apache.org