Developer forum

Forum » CMS - Standard features » Add custom Categories to the Monitoring Tool

Add custom Categories to the Monitoring Tool

Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

How can we add custom Categories and/or Subcategories so that we could benefit from the Notifications feature?

https://www.screencast.com/t/giXmXPk0hr

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

They will show up if you log something into a category and sub category using the API:

To use build in categories:

LogManager.System.GetLogger(LogCategory.Application, "Something").Error/Warn/Info

To make your own:

LogManager.System.GetLogger("MainCategory", "SubCategory").Error/Warn/Info

Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum