JRun logging is actually a topic for an upcoming article on the JRun
DevCenter (I would suggest checking the dev site frequently for new articles
and info: http://www.allaire.com/developer/jrunreferencedesk/)
You can gain entry to the JRun logging system by using the
allaire.jrun.LogManager class; the JavaDocs can be found by browsing
docs/api/index.html under the JRun install directory. After getting a
reference to a Logger, just start firing away:
import allaire.jrun.*;
...
Logger logger = LogManager.getLogger();
if (logger.isDebugEnabled()) {
logger.logDebug("Here's my debug message!");
}
...
You can log debug, info, warning, and error messages to the log.
Hope this helps,
Karl Moss
Allaire, Corp.
-----Original Message-----
From: Gaurav Gehlot [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 05, 2000 8:43 PM
To: [EMAIL PROTECTED]
Subject: Logging using JRun
Hi,
I want to use JRun's logging classes(allaire.jrun.logging) in my
application to log my messages.Is there an example or sample on how to do
it?
TIA,
gg
----------------------------------------------------------------------------
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.