Change Log
Version 1.0.2 Pro (Jul 02, 2005)
- ToStringBuilder option in "Log at this position..."
- New task "Create ToStringStyle class..."
- All features and bugfixes of the free version are also included in this release
Version 1.0.2 Free (Jul 02, 2005)
- Minor bugfixes in "Log at this position..."
Version 1.0.1 Pro (Jun 25, 2005)
- Logging parameter names is now configurable (see preferences Log4E > Positions)
- Use braces when embedding a is<Level>Enabled() statement is configurable (see preferences Log4E > Statements)
- Create declaration comment in one line (see preferences Log4E > Imports and Declaration > Declaration)
- All features and bugfixes of the free version are also included in this release
Version 1.0.1 Free (Jun 25, 2005)
- Extended "Log this variable" to variable assignments
- Changed the output of "Log at this position..." to adapt it to the standard
- Bugfix: imports were generated twice when invoking "Log this variable" and if imports didn't exist.
- Bugfix: "Log this variable" logged the wrong variable under certain circumstances
Version 1.0 Pro (Jun 12, 2005)
- Preferences for each project! (Go to: Project > Properties > Log4E)
- Editable Preview Wizard
- Multiple files enabled by selection of files/packages/sourcefolders/project
- One Preview Wizard for multiple files
- //$NON-NLS-n$ support
- Skip methods with empty body (configurable)
- Skip getter/setter (configurable)
- Skip if catched exception is thrown again in catch block (configurable)
- Skip empty catch block (configurable) or
- Different level and message for empty catch block (configurable)
- Use of the Jakarta Commons ToStringBuilder with own ToStringStyle (configurable)
- Generation of a default ToStringStyle optimized for logger statements
- Anonymous class support
- All features and bugfixes of the free version are also included in this release
Version 1.0 Free (Jun 12, 2005)
Two features which were formerly available in the free version moved to the pro version (Sorry):
New features and bugfixes:
- Changed a few identifiers in the preferences (template definitions didn't change). Checking preferences before using the Plugin the first time is highly recommended!
- Direct log of the selected variable or the variable directly above the text cursor
- Shortcuts enabled
- Method selection within the package explorer
- Version controlled files will become automatically comittable when invoking an operation
- Preferences for the separator "="
- Preferences for confirmation
- Preferences: Advanced preview to check your settings
- Bugfix: Unreachable code is produced when invoking "insert log statement" if mehtod looks like this: void myMehtod() {throw new RuntimeException();}
- Bugfix: "Insert Logger" generates multiple exit logger-statements if a method exits with "return;" (without any return value).
- Bugfix: When specifying the level FINEST for "Method Start" and "Method Exit", Statements "Embed isFinestEnabled" setting of UNCHECKED is ignored. In other words, the isFinestEnabled always appears in the source even when it is turned off.
- Bugfix: Formatting issues
- Bugfix: Using the modifier task, delimiters where automatically removed under very special circumstances
- Bugfix: If return type was fully qualified ("java.lang.String"), Log4E generated wrong code
- Bugfix: If "Logger Name" has not been specified, Log4E generated wrong code
Version 0.7.7 (Nov 13, 2004)
Minor changes only.
- Bugfix: Disabled entry in the Main Menu "Edit" because it seems to make trouble.
- Better "inner classes" handling (see also prefernces "Misc")
- Internal Log4j Logging enabled
Version 0.6.6/0.7.6 (Aug 22, 2004)
Note that v0.6.6 is Eclipse 2.x only and v0.7.6 is Eclipse 3.x only
- Bugfix: correction of the predefined standard templates
- Bugfix: modifcation algorithm
- Bugfix: ${enclosing_package} now also available in initializer template
- Bugfix: Providing package info in preview
- Bugfix: Exception is not provided when invoking "insert at this position..." within a catch block
- proposal of new user defined template name in the preferences
- Preferences for message delimiter (${delimiter_msg})
Version 0.7.5 (Aug 15, 2004)
- Added the template variables: ${enclosing_method_only}, ${enclosing_method_arguments} and ${enclosing_package}
Version 0.7.4 (Aug 14, 2004)
- Bugfix: NPE when unchecking the "Insert info about current method" to off (under Profile>Positions>Other), then inserting a single log statement
- Bugfix: Delimiters which are reserved regular expression (e.g. '.', '+', '*' etc.) generate messy sourcecode.
Version 0.7.3 (Aug 04, 2004)
- Preferences options added to control the replacement of System.out's, System.err's and/or e.printStackTrace()'s
Version 0.7.2 (Aug 02, 2004)
- Bugfix: At last, fixed the %label bug (hopefully).
Version 0.7.1 (July 29, 2004)
- Bugfix: Log4E ships with its own log4j jar which seems to clash with jars of log4j of other plugins. This might cause that Log4E refuses to work and might also be the reason why "%pluginName" is being displayed as the label of the menu rather than "Log4E". This quick patch might fix the problem.
Version 0.6.0/0.7.0 (July 24, 2004)
Note that v0.6.0 is Eclipse 2.x only and v0.7.0 is Eclipse 3.x only
- Active support for JDK 1.4 Logger, Log4j, Commons Logging (see preferences)
- Template definitions
- Logger modification changed (please read the documentaion!)
- Switch to JDK 1.4
- Preview window with textarea
- Bugfix: Array return type supported now
- Bugfix: Indent calculation
- Bugfix: Cursor position in Eclipse 3.0
- Bugfix: Log4E uses user defined formatting now also in Eclipse 3.0
Version 0.5.5 (May 27, 2004)
- Bugfix: equal treatment of "logger" and "this.logger" now
Version 0.5.4 (May 26, 2004)
- Enabled for multiple files
Version 0.5.3 (May 22, 2004)
- Works with Eclipse 3.0 M9 (lower versions don't). It works with Eclipse 2.x anyway.
- Providing method info configurable in preferences
- Bugfix/Feature: "Insert log statement at this position...": if<Level>Enabled() was inserted even when there was already an if<Level>Enabled() statement
Version 0.5.2 (Apr 30, 2004)
- Include return value at end position
- Bugfix: return statement at end of a void method produces unreachable code
Version 0.5.1 (Apr 26, 2004)
- Modification: change class name in initializer if different from actual class name
Version 0.5.0 (Apr 24, 2004)
- Insert logger at textcursor position with wizard support
- Preview wizard for all tasks available (check preferences)
- Avoid annoying newlines if not needed
- Log4E in main menu "Edit"
- Definitions of key bindings
- Some validity checks
- Bugfix: Plugin produces unreachable code on certain conditions
- Bugfix: Wrong behaviour with anonymous classes
- Bugfix: Logger declaration at wrong position if javadoc includes braces
Version 0.4.6 (Apr 9, 2004)
- Final modifier
- Preferences to disable automatic imports and declaration
- Preferences to disable the second "exception argument" in error() and fatal()
- Bugfix: NPE in classes with abstract methods
- Bugfix: Help is now also included in zip
Version 0.4.5 (Apr 7, 2004)
- First official release