﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-Java Tools-随笔分类-Log4j</title><link>http://www.blogjava.net/simie/category/23724.html</link><description /><language>zh-cn</language><lastBuildDate>Fri, 06 Jul 2007 01:46:19 GMT</lastBuildDate><pubDate>Fri, 06 Jul 2007 01:46:19 GMT</pubDate><ttl>60</ttl><item><title>Log4E</title><link>http://www.blogjava.net/simie/archive/2007/07/05/128389.html</link><dc:creator>和田雨</dc:creator><author>和田雨</author><pubDate>Thu, 05 Jul 2007 08:26:00 GMT</pubDate><guid>http://www.blogjava.net/simie/archive/2007/07/05/128389.html</guid><wfw:comment>http://www.blogjava.net/simie/comments/128389.html</wfw:comment><comments>http://www.blogjava.net/simie/archive/2007/07/05/128389.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/simie/comments/commentRss/128389.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/simie/services/trackbacks/128389.html</trackback:ping><description><![CDATA[这个插件是用来方面的使用 log4j组件的，非常好用，推荐！<br><br>
<table width="100%">
    <tbody>
        <tr>
            <td style="PADDING-RIGHT: 15px" vAlign=top width="75%">Log4E is an <a class=external title=http://www.eclipse.org href="http://www.eclipse.org/" target=_blank>Eclipse</a> Plugin which helps you to use your logger easily in Java Projects.<br>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.<br><br>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.<br><br>
            <td style="MARGIN-TOP: 0px; VERTICAL-ALIGN: top; PADDING-TOP: 0px" width="25%" border="0">
            <table style="PADDING-RIGHT: 15px; MARGIN-TOP: 0px; PADDING-LEFT: 15px; BORDER-BOTTOM-COLOR: #223366; VERTICAL-ALIGN: top; BORDER-LEFT: #223366 2px solid; BORDER-TOP-COLOR: #223366; PADDING-TOP: 0px; BORDER-RIGHT-COLOR: #223366; padding-botton: 10px" width="100%" border=0>
                <tbody>
                    <tr>
                        <td style="MARGIN-TOP: 0px; PADDING-LEFT: 15px; VERTICAL-ALIGN: top; PADDING-TOP: 0px">If you like this plugin, please rate it at<br>
                        <div style="TEXT-ALIGN: center">
                        <p><a class=external title="http://www.eclipse-plugins.info/eclipse/rating details plugin.jsp?plugin id=611" href="http://www.eclipse-plugins.info/eclipse/rating_details_plugin.jsp?plugin_id=611" target=_blank>Eclipse Plugins</a> </p>
                        <p>or</p>
                        <p><a class=external title="http://www.eclipseplugincentral.com/Web Links-index-req-viewlink-cid-194.html" href="http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-194.html" target=_blank>Eclipse Plugin Central</a> </p>
                        </div>
                        </td>
                    </tr>
                </tbody>
            </table>
            </td>
        </tr>
    </tbody>
</table>
<p>
<h2><a name=Download>Download</a></h2>
<a class=internal title=Download href="http://log4e.jayefem.de/index.php/Download">Download the Plugin here</a>
<p><br>
<p>
<h2><a name=Overview>Overview</a></h2>
<p>The following tasks can be invoked either on project, sourcefolder, package, class or method level.
<p>
<h3><a name=Logger_Declaration><a class=internal title="Logger Declaration" href="http://log4e.jayefem.de/index.php/Logger_Declaration">Logger Declaration</a></a></h3>
<p>&#160;</p>
<ul>Inserting import statement and logger declaration of your favourite logger in your sourcecode automatically. <br>Kind of logger and imports are configurable in the <a class=internal title="Preferences:Imports and Declaration" href="http://log4e.jayefem.de/index.php/Preferences:Imports_and_Declaration">Preferences</a>. </ul>
    <p>
    <p>
    <h3><a name=Logger_Insertions><a class=internal title="Logger Insertions" href="http://log4e.jayefem.de/index.php/Logger_Insertions">Logger Insertions</a></a></h3>
    <p>&#160;</p>
    <ul>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.<br>Furthermore you can add a logger statement at any position you like supported by a wizard.<br>logger levels and much more is configurable in the <a class=internal title=Preferences:Positions href="http://log4e.jayefem.de/index.php/Preferences:Positions">Preferences:Positions</a> (Statements and Positions). </ul>
        <p>
        <h3><a name="Substitution_of_System_out's"><a class=internal title="Replacements of System out's" href="http://log4e.jayefem.de/index.php/Replacements_of_System_out%27s">Substitution of System out's</a></a></h3>
        <p>&#160;</p>
        <ul>Replacement of System out's, System.err's and e.printTrackTrace Statements.<br>Logger levels are configurable in the <a class=internal title=Preferences:Replacement href="http://log4e.jayefem.de/index.php/Preferences:Replacement">Preferences:Replacement</a>. </ul>
            <p>
            <p>
            <h3><a name=Logger_Modification><a class=internal title="Logger Modification" href="http://log4e.jayefem.de/index.php/Logger_Modification">Logger Modification</a></a></h3>
            <p>&#160;</p>
            <ul>
                <p><strong>Note that the modification task could delete a logger message under certain circumstances!</strong> Please read the <a class=internal title="Logger Modification:Algorithm" href="http://log4e.jayefem.de/index.php/Logger_Modification:Algorithm">Logger Modification:Algorithm</a> section before using it. </p>
                <p>Modification of already exisiting logger statements: Replacing logger message with standard information, surrounding log statements with isLevelEnabled() if clauses and more. </p>
            </ul>
            <p>
            <p>
            <p><br><br>
            <p>Don't hesitate to request for new features or help at <a class=external title=mailto:log4e@jayefem.de href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#108;&#111;&#103;&#52;&#101;&#64;&#106;&#97;&#121;&#101;&#102;&#101;&#109;&#46;&#100;&#101;" target=_blank>log4e@jayefem.de</a> </p>
<img src ="http://www.blogjava.net/simie/aggbug/128389.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/simie/" target="_blank">和田雨</a> 2007-07-05 16:26 <a href="http://www.blogjava.net/simie/archive/2007/07/05/128389.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>