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 » LogCtrl, a LOG/RLOG redirector to a DocEdit
LogCtrl, a LOG/RLOG redirector to a DocEdit [message #30724] Tue, 18 January 2011 17:57 Go to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
hi all

the Logging facility in upp is quite cool, and even has the ability to be redirected to any Stream. so why waste it only for debugging?

many applications have kind of logging in the background, and making it appear to review is handy, for expert users i.e. or for apps where logging is actually a vivid component, i.e. surveillance stuff..

so here comes a DocEdit Ctrl that can be placed somewhere in your app, and when it starts operation it redirects everything that RLOG/LOG and the others do. so no need to memorize anything new.
when it stops operation, it restores previous Stream. so it's kind of an interceptor.

for more grained things, there is LogLev(), definition of logging levels, and things like WARN("bla" << "other") and INFO("info stuff: " << myint) respect it.

it's quite simple but i think yet powerfull.

if any interest, i can put it in bazaar. any suggestions meanwhile are welcome



  • Attachment: LogCtrl.rar
    (Size: 2.67KB, Downloaded 300 times)

[Updated on: Tue, 18 January 2011 18:00]

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
Previous Topic: New video and web browser activex controls for windows
Next Topic: PythonPP - tiny C++ wrappers for Python C API
Goto Forum:
  


Current Time: Fri Apr 26 18:57:02 CEST 2024

Total time taken to generate the page: 0.02366 seconds