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  |
 |
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 344 times)
[Updated on: Tue, 18 January 2011 18:00] Report message to a moderator
|
|
|
 |
|
LogCtrl, a LOG/RLOG redirector to a DocEdit
By: kohait00 on Tue, 18 January 2011 17:57
|
 |
|
Re: LogCtrl, a LOG/RLOG redirector to a DocEdit
|
 |
|
Re: LogCtrl, a LOG/RLOG redirector to a DocEdit
By: kohait00 on Mon, 24 January 2011 10:13
|
 |
|
Re: LogCtrl, a LOG/RLOG redirector to a DocEdit
By: koldo on Tue, 25 January 2011 09:40
|
 |
|
Re: LogCtrl, a LOG/RLOG redirector to a DocEdit
By: kohait00 on Tue, 25 January 2011 10:08
|
 |
|
Re: LogCtrl, a LOG/RLOG redirector to a DocEdit
By: kohait00 on Mon, 07 February 2011 10:03
|
 |
|
Re: LogCtrl, a LOG/RLOG redirector to a DocEdit
By: kohait00 on Wed, 23 March 2011 11:23
|
 |
|
Re: LogCtrl, a LOG/RLOG redirector to a DocEdit
By: chickenk on Thu, 31 March 2011 10:22
|
 |
|
Re: LogCtrl, a LOG/RLOG redirector to a DocEdit
By: kohait00 on Thu, 31 March 2011 10:24
|
 |
|
Re: LogCtrl, a LOG/RLOG redirector to a DocEdit
By: chickenk on Thu, 31 March 2011 10:51
|
 |
|
Re: LogCtrl, a LOG/RLOG redirector to a DocEdit
By: kohait00 on Thu, 31 March 2011 11:18
|
Goto Forum:
Current Time: Fri May 02 20:13:18 CEST 2025
Total time taken to generate the page: 0.03582 seconds
|