microsoft / alguidelines

Best Practices and Design Patterns for the AL Language
https://alguidelines.dev/
MIT License
133 stars 49 forks source link

Add guideline CustomTelemetry #134

Closed ajkauffmann closed 2 years ago

ajkauffmann commented 2 years ago

Linked to this discussion: https://github.com/microsoft/alguidelines/discussions/112 Text from Kennie is copied and slightly modified.

waldo1001 commented 2 years ago

Would it be possible to include also a "bad code" example?

ajkauffmann commented 2 years ago

A bad code example would not really be about the code itself, the LogMessage command is a one-liner anyway. The only difference would be about the casing of the data. The difference between bad and good would be very small.

ajkauffmann commented 2 years ago

I've added an extra chapter about objects emitting telemetry signals.