JavaScript日志框架(转贴)

log4javascript是一个基于log4j的JavaScript日志框架。

首页:http://www.timdown.co.uk/log4javascript/
下载地址:http://sourceforge.net/projects/log4javascript

基本用法 :

<html>
<head>
<title>
</title>
   <script type="text/javascript" src="log4javascript.js">
   </script>
   <script type="text/javascript">    
      var log = log4javascript.getDefaultLogger();   
      log.info("hello world");
   </script>
</head>
<body>
</html>

你可能感兴趣的:(JavaScript,java,框架,log4j,Google)