mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Format the log messages through MessageFormat. Thanks CovertJaguar for the pointer. Closes #282
This commit is contained in:
1 parent
fcf2af484d
commit
d2712dafdb
1 file changed
+3
-3
@@ -5,7 +5,7 @@
|
||||
* are made available under the terms of the GNU Lesser Public License v2.1
|
||||
* which accompanies this distribution, and is available at
|
||||
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
||||
*
|
||||
*
|
||||
* Contributors:
|
||||
* cpw - implementation
|
||||
*/
|
||||
@@ -37,7 +37,7 @@ final class FMLLogFormatter extends Formatter
|
||||
String name = lvl.getLocalizedName();
|
||||
if ( name == null )
|
||||
{
|
||||
name = lvl.getName();
|
||||
name = lvl.getName();
|
||||
}
|
||||
|
||||
if ( ( name != null ) && ( name.length() > 0 ) )
|
||||
@@ -57,7 +57,7 @@ final class FMLLogFormatter extends Formatter
|
||||
{
|
||||
msg.append("[] ");
|
||||
}
|
||||
msg.append(record.getMessage());
|
||||
msg.append(formatMessage(record));
|
||||
msg.append(LINE_SEPARATOR);
|
||||
Throwable thr = record.getThrown();
|
||||
|
||||
|
||||
Reference in new issue
Block a user