Java Doc for Level.java in  » Development » SLF4J » org » apache » log4j » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Development » SLF4J » org.apache.log4j 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.log4j.Priority
      org.apache.log4j.Level

Level
public class Level extends Priority implements Serializable(Code)
Defines the minimum set of levels recognized by the system, that is OFF, FATAL, ERROR, WARN, INFODEBUG and ALL.

The Level class may be subclassed to define a larger level set.
author:
   Ceki Gülcü



Field Summary
final public static  LevelALL
     The ALL has the lowest possible rank and is intended to turn on all logging.
final public static  LevelDEBUG
     The DEBUG Level designates fine-grained informational events that are most useful to debug an application.
final public static  LevelERROR
     The ERROR level designates error events that might still allow the application to continue running.
final public static  LevelFATAL
     The FATAL level designates very severe error events that will presumably lead the application to abort.
final public static  LevelINFO
     The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
final public static  LevelOFF
     The OFF has the highest possible rank and is intended to turn off logging.
final public static  LevelTRACE
     The TRACE Level designates finer-grained informational events than the DEBUG
final public static  intTRACE_INT
     TRACE level integer value.
final public static  LevelWARN
     The WARN level designates potentially harmful situations.
final static  longserialVersionUID
     Serialization version id.

Constructor Summary
protected  Level(int level, String levelStr, int syslogEquivalent)
     Instantiate a Level object.

Method Summary
public static  LeveltoLevel(String sArg)
     Convert the string passed as argument to a level.
public static  LeveltoLevel(int val)
     Convert an integer passed as argument to a level.
public static  LeveltoLevel(int val, Level defaultLevel)
     Convert an integer passed as argument to a level.
public static  LeveltoLevel(String sArg, Level defaultLevel)
     Convert the string passed as argument to a level.

Field Detail
ALL
final public static Level ALL(Code)
The ALL has the lowest possible rank and is intended to turn on all logging.



DEBUG
final public static Level DEBUG(Code)
The DEBUG Level designates fine-grained informational events that are most useful to debug an application.



ERROR
final public static Level ERROR(Code)
The ERROR level designates error events that might still allow the application to continue running.



FATAL
final public static Level FATAL(Code)
The FATAL level designates very severe error events that will presumably lead the application to abort.



INFO
final public static Level INFO(Code)
The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.



OFF
final public static Level OFF(Code)
The OFF has the highest possible rank and is intended to turn off logging.



TRACE
final public static Level TRACE(Code)
The TRACE Level designates finer-grained informational events than the DEBUGsince:
   1.2.12



TRACE_INT
final public static int TRACE_INT(Code)
TRACE level integer value.
since:
   1.2.12



WARN
final public static Level WARN(Code)
The WARN level designates potentially harmful situations.



serialVersionUID
final static long serialVersionUID(Code)
Serialization version id.




Constructor Detail
Level
protected Level(int level, String levelStr, int syslogEquivalent)(Code)
Instantiate a Level object.




Method Detail
toLevel
public static Level toLevel(String sArg)(Code)
Convert the string passed as argument to a level. If the conversion fails, then this method returns Level.DEBUG .



toLevel
public static Level toLevel(int val)(Code)
Convert an integer passed as argument to a level. If the conversion fails, then this method returns Level.DEBUG .



toLevel
public static Level toLevel(int val, Level defaultLevel)(Code)
Convert an integer passed as argument to a level. If the conversion fails, then this method returns the specified default.



toLevel
public static Level toLevel(String sArg, Level defaultLevel)(Code)
Convert the string passed as argument to a level. If the conversion fails, then this method returns the value of defaultLevel.



Fields inherited from org.apache.log4j.Priority
final public static int ALL_INT(Code)(Java Doc)
final public static Priority DEBUG(Code)(Java Doc)
final public static int DEBUG_INT(Code)(Java Doc)
final public static Priority ERROR(Code)(Java Doc)
final public static int ERROR_INT(Code)(Java Doc)
final public static Priority FATAL(Code)(Java Doc)
final public static int FATAL_INT(Code)(Java Doc)
final public static Priority INFO(Code)(Java Doc)
final public static int INFO_INT(Code)(Java Doc)
final public static int OFF_INT(Code)(Java Doc)
final public static Priority WARN(Code)(Java Doc)
final public static int WARN_INT(Code)(Java Doc)
transient int level(Code)(Java Doc)
transient String levelStr(Code)(Java Doc)
transient int syslogEquivalent(Code)(Java Doc)

Methods inherited from org.apache.log4j.Priority
public boolean equals(Object o)(Code)(Java Doc)
public static Priority[] getAllPossiblePriorities()(Code)(Java Doc)
final public int getSyslogEquivalent()(Code)(Java Doc)
public boolean isGreaterOrEqual(Priority r)(Code)(Java Doc)
final public int toInt()(Code)(Java Doc)
public static Priority toPriority(String sArg)(Code)(Java Doc)
public static Priority toPriority(int val)(Code)(Java Doc)
public static Priority toPriority(int val, Priority defaultPriority)(Code)(Java Doc)
public static Priority toPriority(String sArg, Priority defaultPriority)(Code)(Java Doc)
final public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.