Closed zoinkydoink closed 3 years ago
Do you mean something like a message title?
No, let say I have 2 apps that write to the same telegram channel. app1 sends a whole bunch of messages and so does app2, there is no way of knowing which message came from which app. a simple configuration addition to appsettings.json called "ApplicationName" that I can set per app, and once messages are sent to telegram, this setting is passed along each message so it can easily be identifiable when looking at messages on telegram.
Also another note, it would be nice to be able to customize the "This message occured on xyx...."
My suggestion for customizing the message would be
Ok, I will check this soon, sounds like a good idea :)
I have created a pull request for some of the items, review it and let me know
Sorry for the late reply, I had a lot of things to do. I will try to check this tomorrow, but it already looks good from a first view :)
Fixed by https://github.com/SeppPenner/Serilog.Sinks.Telegram/pull/7. I will release an update now,
I will be using this to write multiple app's data to one channel, A simple configuration addition of setting application name would be awesome and should be passed along with the message