Package org.sf.bee.commons.logging

Examples of org.sf.bee.commons.logging.Level


    }

    @Override
    public void log(int i, String message) {
        if (null != _logger) {
            final Level level = this.getLevel(i);
            _logger.log(level, message);
        }
    }
View Full Code Here


    }

    @Override
    public void log(int i, String message, Throwable thrwbl) {
        if (null != _logger) {
            final Level level = this.getLevel(i);
            _logger.log(level, message, thrwbl);
        }
    }
View Full Code Here

    }

    @Override
    public boolean isLevelEnabled(int i) {
        if (null != _logger) {
            final Level level = this.getLevel(i);
            return _logger.isLoggable(level);
        }
        return true;
    }
View Full Code Here

                        ? "CLASSLOADER EXCEPTION: Error loading '%s': [%s]"
                        : "CLASSLOADER EXCEPTION: ClassName cannot be empty String!";
                final String msg = StringUtils.format(pattern,
                        name,
                        ExceptionUtils.getRealMessage(ex));
                final Level level = StringUtils.hasText(name)
                        ? Level.FINE
                        : Level.SEVERE;
                this.getLogger().log(level, msg, ex);
            }
            //-- throw exception --//
View Full Code Here

TOP

Related Classes of org.sf.bee.commons.logging.Level

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.