Yes, we have a logginig language for such purposes. It can be used everywhere to log information to MessagesView.
To use it:
1) import the language: press ctrl+L and enter "logging", select "jetbrains.mps.baseLanguage.logging" (you can also import a language using model properties dialog)
2) use "info","warn" and "error" statements from this language. Do not forget to look in inspector while standing on these statements - there are some additional options there.
Mirko,
Yes, we have a logginig language for such purposes. It can be used everywhere to log information to MessagesView.
To use it:
1) import the language: press ctrl+L and enter "logging", select "jetbrains.mps.baseLanguage.logging" (you can also import a language using model properties dialog)
2) use "info","warn" and "error" statements from this language. Do not forget to look in inspector while standing on these statements - there are some additional options there.
Good luck,
Mihail
Hi Mihail,
thank you!
Mirko