cancel
Showing results for 
Search instead for 
Did you mean: 

Log Folder Icon Checkpoint Over Message? (Javascript)

SOLVED
garyschechter
Occasional Contributor

Log Folder Icon Checkpoint Over Message? (Javascript)

Is there a way to set the Log Folder Icon?   I also see the folder isn't catching the priority that is being set.

 

If the folder contains Log. Error, Log.Warning, Log.Message, and Log.Checkpoint the folder gets the Error icon.

If the folder contains Log.Warning, Log.Message, and Log.Checkpoint the folder gets the Warning icon.

If the folder contains Log.Message, and Log.Checkpoint the folder gets the Message icon I want it to get the Checkpoint Icon.

function TestScriptLog()
{ 
  Log.AppendFolder("This folder Icon should be an Error");
  Log.Message("Informational in Folder","",pmNormal);
  Log.Checkpoint("Checkpoint in Folder","",pmNormal);
  Log.Warning("Warning in Folder","",pmNormal);
  Log.Error("Error in Folder","",pmHighest);
  Log.PopLogFolder();
  
  Log.AppendFolder("This folder Icon should be an Error");
  Log.Message("Informational in Folder");
  Log.Checkpoint("Checkpoint in Folder");
  Log.Warning("Warning in Folder");
  Log.Error("Error in Folder");
  Log.PopLogFolder();
  
  Log.AppendFolder("This folder Icon should be a Warning");
  Log.Message("Informational in Folder","",pmNormal);
  Log.Checkpoint("Checkpoint in Folder","",pmNormal);
  Log.Warning("Warning in Folder","",pmHighest);
  Log.PopLogFolder();
  
  Log.AppendFolder("This folder Icon should be a Warning");
  Log.Message("Informational in Folder");
  Log.Checkpoint("Checkpoint in Folder");
  Log.Warning("Warning in Folder");
  Log.PopLogFolder();  
  
  Log.AppendFolder("This folder Icon should be a Checkpoint");
  Log.Message("Informational in Folder","",pmNormal);
  Log.Checkpoint("Checkpoint in Folder","",pmHighest);
  Log.PopLogFolder();
  
  Log.AppendFolder("This folder Icon should be a Checkpoint");
  Log.Message("Informational in Folder");
  Log.Checkpoint("Checkpoint in Folder");
  Log.PopLogFolder();
    
  Log.AppendFolder("This folder Icon should be an Informational");
  Log.Message("Informational in Folder","",pmHighest);
  Log.PopLogFolder();
  
  Log.AppendFolder("This folder Icon should be an Informational");
  Log.Message("Informational in Folder");
  Log.PopLogFolder();
  
}

log.png 

1 ACCEPTED SOLUTION

Accepted Solutions
sonya_m
Community Manager

Re: Log Folder Icon Checkpoint Over Message? (Javascript)

Hi @garyschechter , thank you for posting your query to the Community!

I believe there's no such option at the moment, unfortunately. However, this could make a nice feature request that you can create here. Thank you.


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

1 REPLY 1
sonya_m
Community Manager

Re: Log Folder Icon Checkpoint Over Message? (Javascript)

Hi @garyschechter , thank you for posting your query to the Community!

I believe there's no such option at the moment, unfortunately. However, this could make a nice feature request that you can create here. Thank you.


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

New Here?
Join us and watch the welcome video:
Top Kudoed Authors