Porting SerilogLogger from KExpense

These attributes need to be in the JetBrains.Annotations namespace.