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

Improve message api challenge 1. #13

Open
damienmarchal opened this issue Dec 16, 2016 · 0 comments
Open

Improve message api challenge 1. #13

damienmarchal opened this issue Dec 16, 2016 · 0 comments

Comments

@damienmarchal
Copy link
Member

Currently we can do

msg_info(this) << "This is a message" 

or

msg_info("ACustomID") << "This is an other message"

Being forced to write the 'this' is ugly so I would like to improve the API to make the following cases possibles

msg_info() << "Héhé"
msg_info(anObject) << "Haha"
msg_info("ACustomID") << "Hihi"

I didn't managed...but maybe you have an idea ?

DM

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