View Javadoc

1   /**
2    * Logback: the generic, reliable, fast and flexible logging framework.
3    * 
4    * Copyright (C) 1999-2006, QOS.ch
5    * 
6    * This library is free software, you can redistribute it and/or modify it under
7    * the terms of the GNU Lesser General Public License as published by the Free
8    * Software Foundation.
9    */
10  package ch.qos.logback.core.status;
11  
12  import java.util.Iterator;
13  
14  
15  public interface Status  {
16  
17    public final int INFO = 0;
18    public final int WARN = 1;
19    public final int ERROR = 2;
20    
21    int getLevel();
22    int getEffectiveLevel();
23    Object getOrigin();
24    String getMessage();
25    Throwable getThrowable();
26    Long getDate();
27    
28    public boolean hasChildren();
29    public void add(Status child);
30    public boolean remove(Status child);
31    public Iterator<Status> iterator();
32  
33  }