Open Damecek opened 11 months ago
Hi @Damecek! I've been having similar ideas over the last few months, and I think I'm going to...
I've started a prototype of using custom objects, and it'll give me a lot more control & flexibility over how Slack notifications can be setup (including sandboxes with cloned data). I'm hoping to make more progress on this over the next few months.
What limitations are you talking about? The benefit of custom settings is the hierarchy where different users or profiles can send messages to a different Slack channels. Also, using custom settings will be easier to integrate the slack setup to the current custom setup component.
There are a couple of issues with using custom settings
By decoupling notification configuration from logging configuration, it'll provide a lot more flexibility.
Thanks for explaining, it looks like you have everything though through. Definitely looking forward to this upgrade. 🚀
Hello @jongpie really appreciating your work on this repository. I would like to ask how does it look with the Slack Plugin refactor?
Today I've received a request to send some specific logs to a different channel which is not currently possible. The use case was to separate logs around our SFMC integration to separate SFMC slack channel. This is not possible now, nor it would be easily possible with the Custom Setting I initially suggested. As you said they are too limiting and the Custom Object will be better suitable for this. Ideally we would like to define multiple slack channels per Log Entry. The Log Tags looks like good option, each tag could have it's own slack channel configured.
So I wanted to bring this back to your attention. Thanks in advance.
Hi @Damecek great question, I should have added a comment on this issue a few months ago with an update:
FormulaEval
namespace in Apex - but since the FormulaEval
namespace/functionality is still in beta, I don't want to add this functionality to Nebula Logger yet.So I'm definitely planning to implement this eventually, but I'm focusing on other enhancements & bugfixes until FormulaEval
is generally available (GA) in Apex.
Package Edition of Nebula Logger
Unlocked Package
Package Version of Nebula Logger
1.5.2
New Bug Summary
Hi,
currently the Configuration of the Slack Plugin is stored in the Custom Metadata Type called Logger Parameter. This brings complications in following cases:
My suggested solution is to store those information in Custom Settings, which are not deployable. Another benefit of this would be that we could publish messages to multiple Slack Channels from single Salesforce environment. Could be useful for example to log System Admin Profile to different channel than the rest of profiles.