Custom Log Color Coding with C# in ZennoPoster

Pierre Paul Jacques

Активный пользователь
Регистрация
08.10.2023
Сообщения
142
Реакции
40
Баллы
28
Hello Zenno Friends,

I am currently working on a project in ZennoPoster and I'm trying to figure out if it's possible to use the notification button to customize the colors of log messages through a C# script.

Specifically, I'm looking to set messages with colors like turquoise or other custom colors for enhanced visibility in the logs.
I've been looking into the ILogOptions interface, but i didn't find on how to implement these specific color settings.

Does anyone have a code sample or guidance on how to proceed with adding this color customization to the logs?

Thanks in advance for your help and insight!

Best regards,
117405
 
C#:
Развернуть Свернуть Копировать
project.SendToLog("Message", ZennoLab.InterfacesLibrary.Enums.Log.LogType.Info, false, ZennoLab.InterfacesLibrary.Enums.Log.LogColor.Yellow);
 
  • Спасибо
Реакции: Pierre Paul Jacques
  • Спасибо
Реакции: Pierre Paul Jacques

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)