Package rocket.logging.client

Examples of rocket.logging.client.LoggingLevel


    final Iterator<String> names = config.getNames();
    while (names.hasNext()) {
      final String name = names.next();
      final String loggerTypeName = config.getTypeName(name);
      final LoggingLevel loggingLevel = config.getLoggingLevel(name);

      context.debug(name + "=" + loggerTypeName + " (" + loggingLevel + ")");

      final Constructor loggingLevelLogger = this.getConstructorForLoggingLevel(loggingLevel);
      final Constructor logger = this.getTargetLoggerConstructor(loggerTypeName);
View Full Code Here


    final LoggingFactoryConfig config = this.getLoggingFactoryConfig();

    final CreateRootLoggerTemplatedFile createLogger = new CreateRootLoggerTemplatedFile();
    newMethod.setBody(createLogger);

    final LoggingLevel loggingLevel = config.getLoggingLevel(category);
    createLogger.setLevelLogger(this.getConstructorForLoggingLevel(loggingLevel));

    final String typeName = config.getTypeName(category);
    createLogger.setLogger(this.getTargetLoggerConstructor(typeName));
View Full Code Here

    final String loggerName = event.getName();
    final Throwable throwable = event.getThrowable();
    final String text = event.getMessage();

    while (true) {
      final LoggingLevel level = event.getLoggingLevel();

      if (LoggingLevel.DEBUG == level) {
        this.debug(loggerName, text, throwable);
        break;
      }
View Full Code Here

    context.replaceMe(call);
  }

  protected JClassType getLevelLogger(final String name) {
    final LoggingFactoryConfig config = this.getLoggingFactoryConfig();
    final LoggingLevel level = config.getLoggingLevel(name);
    return this.getClassType("rocket.logging.client." + level.toString() + "LevelLogger");
  }
View Full Code Here

TOP

Related Classes of rocket.logging.client.LoggingLevel

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.