Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » Extended Logging Package
Re: Extended Logging Package [message #17279 is a reply to message #17276] Tue, 05 August 2008 15:32 Go to previous messageGo to previous message
captainc is currently offline  captainc
Messages: 278
Registered: December 2006
Location: New Jersey, USA
Experienced Member
Quote:

if I need singleton design pattern I would just use the Single template provided by U++

Yeah, I had never used the singleton template from U++, I forgot it was even there.

Quote:

And macros? There has got to be another way to do the logging without those terrible macros

There is, but the naming makes it really long. The macros are only a shortcut for it.
You can use something like this instead:

using namespace UppLog;
Logger::Instance()->Log("mylog", "my log message");


I'll rethink the naming conventions...
 
Read Message icon6.gif
Read Message
Read Message
Read Message
Previous Topic: Shiny: C++ profiler - Ultimate++ package
Next Topic: Shared object with auto locking strategy
Goto Forum:
  


Current Time: Wed May 15 08:19:38 CEST 2024

Total time taken to generate the page: 0.03328 seconds