Hi Chuck,
great and perfect logging solution - great documentation too. I’m impressed.
I would have created custom attributes instead of using $MyNumber and this line:
$MyNumber("/Core/LogBooks")=1+$MyNumber("/Core/LogBooks");
should go to the end of the function inside the if (log_stamp.size>0) condition.
If someone would like to copy the solution into an existing file - you could use the CopyAttributes solution with this function call:
createUserAttributes_db(“DatestampLogs:boolean;IndexLogs:boolean;LoggingEnabled:boolean;TimestampLogs:boolean”);
Then it is just a copy and paste of the notes from Chucks solution.
Again - thanks a lot!