[SOLVED]logfile colors

Posted on
Thu Jan 30, 2014 11:04 pm
kw123 offline
User avatar
Posts: 8392
Joined: May 12, 2013
Location: Dallas, TX

[SOLVED]logfile colors

is there a way besides errorlog() to change the color of the log file entries?

I designed the logfile output with some red lines to present a nicer picture.

where the "error" line shows up read, makes a nice separator line, but it is is somewhat confusing.

Is there another way besides mis-using error log()

thanks

Karl
Attachments
logfile.tiff
logfile.tiff (410.55 KiB) Viewed 1219 times

Posted on
Fri Jan 31, 2014 8:19 am
matt (support) offline
Site Admin
User avatar
Posts: 21429
Joined: Jan 27, 2003
Location: Texas

Re: logfile colors

Hi Karl,

Sorry, but that level of control isn't currently available. You can add a \n character or a log line of "----------------" to act as a visual separator -- perhaps that would work?

Image

Posted on
Fri Jan 31, 2014 5:35 pm
kw123 offline
User avatar
Posts: 8392
Joined: May 12, 2013
Location: Dallas, TX

Re: logfile colors

found a feature that seems to works for me:
indigo.server.log(" text in second column of log file entry", type=" text in first column")

just though I share it... took me some time to find it:

is there a plain list of ALLLLL functions, calls, methods on a single page? that would really help.


Thanks

Karl
Attachments
logfile.tiff
logfile.tiff (476.71 KiB) Viewed 1162 times

Posted on
Sat Feb 01, 2014 4:01 pm
matt (support) offline
Site Admin
User avatar
Posts: 21429
Joined: Jan 27, 2003
Location: Texas

Re: logfile colors

Hi Karl,

We don't have an online index of all functions, but you can get the complete list from the Indigo scripting shell (Plugins->Open Scripting Shell) by typing in:

Code: Select all
help(indigo)

Everything should be listed (along with some glue functions that you can ignore) along with marginally adequate documentation of what the methods do.

You can also request specific information about a class or function, like:

Code: Select all
help(indigo.server.log)


At the very least it will show you what the arguments are for every method.

Image

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 6 guests