Package ru.vassaev.core.thread

Examples of ru.vassaev.core.thread.LogEvent


        String loglevel = ll.getAttribute("loglevel");
        String events = ll.getAttribute("events");
        LogLevel p = new LogLevel(loglevel);
        String[] eventlist = Strings.parseXVSLine(events, '\\', '|');
        for (String event : eventlist) {
          LogEvent evnt = LogEvent.valueOf(event);
          this.setLogLevel(evnt, p);
        }
      }
    }
    Element ext = (Element)Strings.getXMLObject(e, "exception");
View Full Code Here


      return modify.exec(tl, cntx, v);
    return v;
  }
  protected Object whenException = null;
  public Object calculate(TimeList tl, Context cntx) throws CalculateException {
    LogEvent old = setEvent(LogEvent.CALC);
    try {
      Object v = calculate0(tl, cntx);
      if (modify != null)
        v = modify.exec(tl, cntx, v);
      return v;
View Full Code Here

  }
  public final LogEvent setEvent(LogEvent le) {
    synchronized(sync_log) {
      if ((le != null && le.equals(cur)) || le == cur)
        return le;
      LogEvent oldle = cur;
      cur = le;
      LogLevel ll = getLogLevel(le);
      setLogLevel(TypeOutput.INFO, ll);
      return oldle;
    }
View Full Code Here

      encoding = "UTF-8";
    isHeader = Strings.parseBooleanNvl(Strings.getXMLValue(e, "header"), false);
  }

  public Object calculate(TimeList tl, Context cntx) throws CalculateException {
    LogEvent old = setEvent(LogEvent.CALC);
    try {
      tl.addPointTime(TimeList.Type.START);
      Object v = super.calculate0(tl, cntx);
      if (Null.NULL.equals(v))
        return null;
View Full Code Here

    if (encoding == null || encoding.length() == 0)
      encoding = "utf-8";
  }

  public Object calculate(TimeList tl, Context cntx) throws CalculateException {
    LogEvent old = setEvent(LogEvent.CALC);
    try {
      tl.addPointTime(TimeList.Type.START);
      Object v = super.calculate0(tl, cntx);
      if (Null.NULL.equals(v))
        return null;
View Full Code Here

TOP

Related Classes of ru.vassaev.core.thread.LogEvent

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.