serilog-contrib / Serilog.Sinks.Telegram.Alternative

Serilog.Sinks.Telegram.Alternative is a library to save logging information from Serilog to Telegram.
MIT License
36 stars 12 forks source link

Option to reduce output #22

Closed nebula2 closed 2 years ago

nebula2 commented 2 years ago

I would like to have an option to suppress output of when the log occurred.

image

When application name is given, log may look like the above one. I want to go a step further and have the option to even suppress The message occurred on 2021-12-04 15:45:33+00:00.

The idea is to be able to produce the following:

The consumer would then have the option to choose between:

  1. Printing both
  2. Printing occurance
  3. Printing just the name
  4. Printing nothing

I will implement this and create a PR