Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple call of the same function cannot log into different channels #9

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Hello!

I'm stuck when I'm  trying to write simple function dotest with 
argument name channel and try to log through rLog function to
different channels. RLog library can log only to first specified channel.
The problem arises when you subscribe to a channel in object constructor,
to log each instance of an object to different channel.

Please look at attached test case file (testlib.cpp)

This issue is of course independent of operating system.

Regards,


Original issue reported on code.google.com by [email protected] on 30 Sep 2008 at 1:12

Attachments:

@GoogleCodeExporter
Copy link
Author

I'm afraid the rLog calls are designed for static channel association, not 
dynamic
association.  I'm marking this as a feature request.

RLog performance is based on static associations, which allows the channel's
activation state to be exported as a boolean conditional over the RLog call. 
Probably the easiest way to add what you're looking for would be to have a 
separate
call which was not optimized - as each call would need to go through the code 
path in
the log registration function (just without the registration).

Original comment by valient on 30 Sep 2008 at 4:11

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant