Source Code Cross Referenced for Logger.java in  » Inversion-of-Control » DNA » org » codehaus » dna » 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 » Inversion of Control » DNA » org.codehaus.dna 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright (C) The DNA Group. All rights reserved.
003:         *
004:         * This software is published under the terms of the DNA
005:         * Software License version 1.1, a copy of which has been included
006:         * with this distribution in the LICENSE.txt file.
007:         */
008:        package org.codehaus.dna;
009:
010:        /**
011:         * This interface was a facade for different Logger subsystems.
012:         *
013:         * @version $Revision: 1.2 $ $Date: 2004/05/01 09:51:48 $
014:         */
015:        public interface Logger {
016:            /**
017:             * Log a trace message.
018:             *
019:             * @param message the message
020:             */
021:            void trace(String message);
022:
023:            /**
024:             * Log a trace message with an associated throwable.
025:             *
026:             * @param message the message
027:             * @param throwable the throwable
028:             */
029:            void trace(String message, Throwable throwable);
030:
031:            /**
032:             * Return true if a trace message will be logged.
033:             *
034:             * @return true if message will be logged
035:             */
036:            boolean isTraceEnabled();
037:
038:            /**
039:             * Log a debug message.
040:             *
041:             * @param message the message
042:             */
043:            void debug(String message);
044:
045:            /**
046:             * Log a debug message with an associated throwable.
047:             *
048:             * @param message the message
049:             * @param throwable the throwable
050:             */
051:            void debug(String message, Throwable throwable);
052:
053:            /**
054:             * Return true if a debug message will be logged.
055:             *
056:             * @return true if message will be logged
057:             */
058:            boolean isDebugEnabled();
059:
060:            /**
061:             * Log a info message.
062:             *
063:             * @param message the message
064:             */
065:            void info(String message);
066:
067:            /**
068:             * Log a info message with an associated throwable.
069:             *
070:             * @param message the message
071:             * @param throwable the throwable
072:             */
073:            void info(String message, Throwable throwable);
074:
075:            /**
076:             * Return true if an info message will be logged.
077:             *
078:             * @return true if message will be logged
079:             */
080:            boolean isInfoEnabled();
081:
082:            /**
083:             * Log a warn message.
084:             *
085:             * @param message the message
086:             */
087:            void warn(String message);
088:
089:            /**
090:             * Log a warn message with an associated throwable.
091:             *
092:             * @param message the message
093:             * @param throwable the throwable
094:             */
095:            void warn(String message, Throwable throwable);
096:
097:            /**
098:             * Return true if a warn message will be logged.
099:             *
100:             * @return true if message will be logged
101:             */
102:            boolean isWarnEnabled();
103:
104:            /**
105:             * Log a error message.
106:             *
107:             * @param message the message
108:             */
109:            void error(String message);
110:
111:            /**
112:             * Log a error message with an associated throwable.
113:             *
114:             * @param message the message
115:             * @param throwable the throwable
116:             */
117:            void error(String message, Throwable throwable);
118:
119:            /**
120:             * Return true if a error message will be logged.
121:             *
122:             * @return true if message will be logged
123:             */
124:            boolean isErrorEnabled();
125:
126:            /**
127:             * Get the child logger with specified name.
128:             *
129:             * @param name the name of child logger
130:             * @return the child logger
131:             */
132:            Logger getChildLogger(String name);
133:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.