To main content

Model-Based, Platform-Independent Logging for Heterogeneous Targets.

Abstract

A recurring issue in generative approaches, in particular if they generate code for multiple target languages, is logging. How to ensure that logging is performed consistently for all the supported languages? How to ensure that the specific semantics of the source language, e.g. a modeling language or a domain-specific language, is reflected in the logs? How to expose logging concepts directly in the source language, so as to let developers specify what to log? This paper reports on our experience developing a concrete logging approach for ThingML, a textual modeling language built around asynchronous components, statecharts and a first-class action language, as well as a set of "compilers" targeting C, Go, Java and JavaScript.

Category

Academic chapter

Language

English

Author(s)

  • Brice Morin
  • Nicolas Ferry

Affiliation

  • SINTEF Digital / Sustainable Communication Technologies

Year

2019

Publisher

IEEE (Institute of Electrical and Electronics Engineers)

Book

Proceedings of the 22nd ACM/IEEE International Conference on Model Driven Engineering Languages and Systems

ISBN

9781728125367

Page(s)

172 - 182

View this publication at Norwegian Research Information Repository