Java Tools

            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            83 隨筆 :: 0 文章 :: 16 評論 :: 0 Trackbacks
          這個插件是用來方面的使用 log4j組件的,非常好用,推薦!

          Log4E is an Eclipse Plugin which helps you to use your logger easily in Java Projects.
          The Plugin Log4E is not bound to any special logging framework. Thus you might be able to adapt to your own logger by defining your own templates using the preferences. It has active support for Log4j, Commons Logging and JDK 1.4 logging.

          Use the context menu of a java file or the context menu of an editor and get to the submenu "Log4". Notice that the editor submenu provides additional tasks.

          If you like this plugin, please rate it at

          Download

          Download the Plugin here


          Overview

          The following tasks can be invoked either on project, sourcefolder, package, class or method level.

          Logger Declaration

           

            Inserting import statement and logger declaration of your favourite logger in your sourcecode automatically.
            Kind of logger and imports are configurable in the Preferences.

          Logger Insertions

           

            Automate insertions of logger statements at certain method entries: begin of method, exit of method (before every return statement and at the end of method) and in catch blocks.
            Furthermore you can add a logger statement at any position you like supported by a wizard.
            logger levels and much more is configurable in the Preferences:Positions (Statements and Positions).

          Substitution of System out's

           

            Replacement of System out's, System.err's and e.printTrackTrace Statements.
            Logger levels are configurable in the Preferences:Replacement.

          Logger Modification

           

            Note that the modification task could delete a logger message under certain circumstances! Please read the Logger Modification:Algorithm section before using it.

            Modification of already exisiting logger statements: Replacing logger message with standard information, surrounding log statements with isLevelEnabled() if clauses and more.



          Don't hesitate to request for new features or help at log4e@jayefem.de

          posted on 2007-07-05 16:26 和田雨 閱讀(576) 評論(0)  編輯  收藏 所屬分類: Log4jEclipse

          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 卓尼县| 大田县| 察雅县| 江达县| 青川县| 陵水| 镇坪县| 长兴县| 九寨沟县| 阳泉市| 张家界市| 开鲁县| 托克托县| 乐平市| 寿宁县| 西华县| 射阳县| 钦州市| 崇州市| 靖西县| 九龙坡区| 嘉禾县| 无棣县| 钟山县| 乌拉特中旗| 遂川县| 娄烦县| 吉首市| 松原市| 钟山县| 芮城县| 万载县| 乃东县| 沈阳市| 湘潭市| 蒲城县| 新和县| 方山县| 北辰区| 长治市| 曲阳县|