Java Doc for LogChute.java in  » Template-Engine » Velocity » org » apache » velocity » runtime » log » 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 » Template Engine » Velocity » org.apache.velocity.runtime.log 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.velocity.runtime.log.LogChute

All known Subclasses:   org.apache.velocity.runtime.log.NullLogChute,  org.apache.velocity.test.misc.TestLogChute,  org.apache.velocity.runtime.log.LogChuteSystem,  org.apache.velocity.test.EventHandlingTestCase,  org.apache.velocity.test.ExternalLoggerTestCase,  org.apache.velocity.test.MethodOverloadingTestCase,  org.apache.velocity.runtime.log.HoldingLogChute,  org.apache.velocity.runtime.log.Log4JLogChute,  org.apache.dvsl.AntLogChute,  org.apache.velocity.test.ClassloaderChangeTestCase,  org.apache.velocity.runtime.log.JdkLogChute,  org.apache.velocity.runtime.log.SystemLogChute,  org.apache.velocity.runtime.log.AvalonLogChute,  org.apache.velocity.test.FilteredEventHandlingTestCase,
LogChute
public interface LogChute (Code)
Base interface that logging systems need to implement. This is the blessed descendant of the old LogSystem interface.
author:
   Jon S. Stevens
author:
   Geir Magnusson Jr.
author:
   Nathan Bubna
version:
   $Id: LogChute.java 494611 2007-01-09 21:57:20Z henning $


Field Summary
 intDEBUG_ID
     ID for debug messages.
 StringDEBUG_PREFIX
     Prefix string for debug messages.
 intERROR_ID
     ID for error messages.
 StringERROR_PREFIX
     Prefix string for error messages.
 intINFO_ID
     ID for info messages.
 StringINFO_PREFIX
     Prefix string for info messages.
 intTRACE_ID
     ID for trace messages.
 StringTRACE_PREFIX
     Prefix string for trace messages.
 intWARN_ID
     ID for warning messages.
 StringWARN_PREFIX
     Prefix string for warn messages.


Method Summary
 voidinit(RuntimeServices rs)
     Initializes this LogChute.
 booleanisLevelEnabled(int level)
     Tell whether or not a log level is enabled.
 voidlog(int level, String message)
     Send a log message from Velocity.
 voidlog(int level, String message, Throwable t)
    

Field Detail
DEBUG_ID
int DEBUG_ID(Code)
ID for debug messages.



DEBUG_PREFIX
String DEBUG_PREFIX(Code)
Prefix string for debug messages.



ERROR_ID
int ERROR_ID(Code)
ID for error messages.



ERROR_PREFIX
String ERROR_PREFIX(Code)
Prefix string for error messages.



INFO_ID
int INFO_ID(Code)
ID for info messages.



INFO_PREFIX
String INFO_PREFIX(Code)
Prefix string for info messages.



TRACE_ID
int TRACE_ID(Code)
ID for trace messages.



TRACE_PREFIX
String TRACE_PREFIX(Code)
Prefix string for trace messages.



WARN_ID
int WARN_ID(Code)
ID for warning messages.



WARN_PREFIX
String WARN_PREFIX(Code)
Prefix string for warn messages.





Method Detail
init
void init(RuntimeServices rs) throws Exception(Code)
Initializes this LogChute.
Parameters:
  rs -
throws:
  Exception -



isLevelEnabled
boolean isLevelEnabled(int level)(Code)
Tell whether or not a log level is enabled.
Parameters:
  level - True if a level is enabled.



log
void log(int level, String message)(Code)
Send a log message from Velocity.
Parameters:
  level -
Parameters:
  message -



log
void log(int level, String message, Throwable t)(Code)
Send a log message from Velocity along with an exception or error
Parameters:
  level -
Parameters:
  message -
Parameters:
  t -



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