On Fri, Jun 23, 2000 at 10:23:38AM -0400, John Thorhauer wrote:
> I can then do:
>
> Log.setLogFile("dblogfile");
> Log.note("insert record into db");
>
> Log.setLogFile("seclogfile");
> Log.note("user A has logged in");
>
>
> I tested it and it seems to work OK.
This isn't thread safe. A better method would involve overloading
Log.note, Log.error etc
--
Sean Legassick
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]