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 » Community » U++ community news and announcements » U++ logging refactored
Re: U++ logging refactored [message #38210 is a reply to message #36754] Thu, 06 December 2012 12:41 Go to previous messageGo to previous message
NilaT is currently offline  NilaT
Messages: 70
Registered: November 2011
Location: Austria
Member
Hello,

and sorry for digging out this old thread again but I have a question to the new logging feature.

A few days ago I went from 2010 source to 2012 and saw, that UsrLog and BugLog etc. isn't available anymore.
I searched and luckily found this thread.

In my program I added "StdLogSetup(LOG_FILE | LOG_TIMESTAMP, sFile);" as suggested in here:
http://www.ultimatepp.org/src$Core$Logging$en-us.html

BUT, how do I create two different logfiles?
I want files with the .log extension and another with .buglog or something.
In 2010 source I used a USRLOG or BUGLOG Macro which get me UsrLog() in Debug.cpp

But now it's a bit more complicated with struct IniBool and stuff... (don't know exactly what the user_log flag is for, but as it seems LOG_ calls RLOG calls UPP::VppLog calls UppLog calls StdLog calls StdLogStream)

Seems like I have to add a new Stream Method oder something?
Any help appreciated.

Thanks.

[Updated on: Thu, 06 December 2012 12:47]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SQL refactored, adding per-thread option, added second SQLR
Next Topic: MySql now supports reconnection features
Goto Forum:
  


Current Time: Fri Jul 18 03:41:55 CEST 2025

Total time taken to generate the page: 0.04288 seconds