Issue #1706 Log class uses self Loader

This commit is contained in:
Greg Wilkins 2017-08-10 11:22:06 +10:00
parent d5a9f0e0e5
commit 7b5d3b2b5a
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ public class Log
try
{
Class<?> log_class = __logClass==null?null:Loader.loadClass(__logClass);
Class<?> log_class = __logClass==null?null:Loader.loadClass(Log.class,__logClass);
if (LOG == null || (log_class!=null && !LOG.getClass().equals(log_class)))
{
LOG = (Logger)log_class.newInstance();