Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 349 Bytes

TODO.md

File metadata and controls

19 lines (15 loc) · 349 Bytes

Messages thoughts

I need messages in many cases: logging, validation, performance logging. What parts message should contain?

Simple logging:

  • Text

Logging:

  • Text,
  • Severity(Info, Warning, Error)
  • Timestamp
  • Exception or other Error struct
  • Other properties: {name, value}

Validation:

  • Text
  • Severity(Info, Warning, Error)
  • Member(s)