[Developers] Suggestion: New API CCTK_Announce

Jian Tao jtao at cct.lsu.edu
Fri Jun 3 13:01:36 CDT 2005


Hi Tom,

>This is all sounding very suspiciously like the CCTK_Log (or Syslog) 
>functionality which was a planned 4.1 feature;  e.g.
>
>int CCTK_Log(int level, const char *tag, const char *message)

Is it somewhere online ?

>If someone would like to take these ideas, propose a concrete API for the 
>Log function and the callbacks, and semantics, and write a thorn, that 
>would be great.  ( Obviously if it is in a thorn it wouldn't be CCTK_Log 
>8-)
>
>The thorn itself could have some parameters which select events based upon 
>some matching criteria and dumps data to a set of files, or this could 
>(and probably should) be done in a separate thorn as an example of using 
>the callbacks (even if it is in the same thorn it should of course use the 
>callbacks).

I will try to implement this in exactly the same way I did for Warn/Info.
More information about it will be posted early next week.

Cheers,
Jian






More information about the Developers mailing list