Page History
Table of Contents |
---|
Logging with the JS7 Logger
A JavaScript Job can use the JS7 Logger like this:
...
- The
js7Step.getLogger()
object is provided that offers related methods for logging. - For details see JS7 - Job API.
Logging with the Console Logger
A JavaScript Job can use the Console Logger like this:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
class JS7Job extends js7.Job { processOrder(js7Step) { console.info('.. logging an information'); console.log('.. logging an information'); console.warn('.. logging a warning'); console.error('.. logging an error'); console.debug('.. logging debug output'); // do some stuff } } |
Further Resources
...
Overview
Content Tools