Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "E4/Doc/Logging"

< E4‎ | Doc
(New page: == Logging And Tracing == <center> <h2><font color=red>A Work In Progress, Please Read First</font></h2> <!-- Leave this notification text for each service --> {| style="background-color:...)
 
Line 1: Line 1:
 
== Logging And Tracing ==
 
== Logging And Tracing ==
<center>
+
{{E4/Doc/Under construction}}
<h2><font color=red>A Work In Progress, Please Read First</font></h2>
+
<!-- Leave this notification text for each service -->
+
{| style="background-color:#ff9933; border-style:dashed; font-size:1.25em; fotn-family:'comic sans'; text-align:center;" cellpadding="20" cellspacing="0"
+
|The evolution of this document is a collaborative effort between a team of students at the [http://www.umanitoba.ca University of Manitoba] and the wider Eclipse community.
+
  
Details about the project can be found <span class="plainlinks"> [http://wiki.eclipse.org/e4/Doc/ProjectDetails here]</span> and on our [http://sites.google.com/site/umanitobacomp4060 Google Site].
+
==Description ==
 
+
Your input is not only welcome but needed! Please contribute as your expertise allows keeping in mind our <span class="plainlinks"> [http://wiki.eclipse.org/e4/Doc/DocumentGuildelines Document Guidelines]</span>.
+
To send your feedback and any questions or comments you may have please [mailto:brentbarkman@gmail.com,chrishildebrand@gmail.com,umdimits@cc.umanitoba.ca email] us.
+
|}
+
</center>
+
 
+
=== <span style="text-decoration:underline;">Description</span>  ===
+
 
<div style="margin-left:10px;">
 
<div style="margin-left:10px;">
 
The ability to output knowledge from an executing program is incredibly useful in determining a variety of problems including crashes, bugs and performance issues. The action of outputting this information during runtime to a storage medium (txt file, database, xml etc.) is known as logging and tracing and is common among all practices of software development. When implementing or using logging and tracing it is useful to be aware of the [http://en.wikipedia.org/wiki/Singleton_pattern Singleton Pattern] as it is the most common implementation of a logger.
 
The ability to output knowledge from an executing program is incredibly useful in determining a variety of problems including crashes, bugs and performance issues. The action of outputting this information during runtime to a storage medium (txt file, database, xml etc.) is known as logging and tracing and is common among all practices of software development. When implementing or using logging and tracing it is useful to be aware of the [http://en.wikipedia.org/wiki/Singleton_pattern Singleton Pattern] as it is the most common implementation of a logger.
Line 19: Line 8:
 
Logging and tracing are the same concept but used to describe varying levels of information. Logging generally refers to higher level information, generally useful to System Administrators on a production system, whereas Tracing is generally more low-level and more useful to developers doing debugging of large systems.
 
Logging and tracing are the same concept but used to describe varying levels of information. Logging generally refers to higher level information, generally useful to System Administrators on a production system, whereas Tracing is generally more low-level and more useful to developers doing debugging of large systems.
 
</div>
 
</div>
=== <span style="text-decoration:underline;">Consumer</span>  ===
+
== Consumer ===
 
<div style="margin-left:10px;">
 
<div style="margin-left:10px;">
 
e4 specific description of the service/ implementation details etc.  
 
e4 specific description of the service/ implementation details etc.  
  
==== Usage  ====
+
=== Usage  ===
  
 
(natural breakdown relevant to the service itself here)  
 
(natural breakdown relevant to the service itself here)  
  
==== Code Samples  ====
+
=== Code Samples  ===
  
 
<source lang="java">
 
<source lang="java">
Line 35: Line 24:
 
</source>  
 
</source>  
  
==== Eclipse 3.x  ====
+
=== Eclipse 3.x  ===
  
 
(only if it's relevant AND helpful)  
 
(only if it's relevant AND helpful)  
 
</div>
 
</div>
=== <span style="text-decoration:underline;">Producer</span> ===
+
== Producer  ==
 
<div style="margin-left:10px;">
 
<div style="margin-left:10px;">
 
e4 specific description of the service/ implementation details etc.  
 
e4 specific description of the service/ implementation details etc.  
  
==== Usage  ====
+
=== Usage  ===
  
==== Code Samples  ====
+
=== Code Samples  ===
  
==== Eclipse 3.x  ====
+
=== Eclipse 3.x  ===
  
 
(this is not likely needed here)  
 
(this is not likely needed here)  
 
</div>
 
</div>
=== <span style="text-decoration:underline;">Related Materials</span>  ===
+
== Related Materials ==
 
<div style="margin-left:10px;">
 
<div style="margin-left:10px;">
==== Related Services  ====
+
=== Related Services  ===
  
==== Related API's  ====
+
=== Related API's  ===
  
==== See Also ====
+
=== See Also ===
 
</div>
 
</div>

Revision as of 20:23, 11 February 2010

Logging And Tracing

Under Construction: Please read first!

The evolution of this document is a collaborative effort between a team of students at the University of Manitoba and the wider Eclipse community. Details about the project can be found here and on our Blog.

Your input is not just welcome; it is needed! Please contribute as your expertise allows, while adhering to our template. To send your feedback and any questions or comments you may have please email us. Also, while we do our very best to be as accurate and precise as possible, it is worth noting that we are students with limited exposure to the Eclipse platform, so if you see any incorrect technical details please let us know.

Description

The ability to output knowledge from an executing program is incredibly useful in determining a variety of problems including crashes, bugs and performance issues. The action of outputting this information during runtime to a storage medium (txt file, database, xml etc.) is known as logging and tracing and is common among all practices of software development. When implementing or using logging and tracing it is useful to be aware of the Singleton Pattern as it is the most common implementation of a logger.

Logging and tracing are the same concept but used to describe varying levels of information. Logging generally refers to higher level information, generally useful to System Administrators on a production system, whereas Tracing is generally more low-level and more useful to developers doing debugging of large systems.

Consumer =

e4 specific description of the service/ implementation details etc.

Usage

(natural breakdown relevant to the service itself here)

Code Samples

System.out.println("I'm some java code");
alert("I'm some javascript");

Eclipse 3.x

(only if it's relevant AND helpful)

Producer

e4 specific description of the service/ implementation details etc.

Usage

Code Samples

Eclipse 3.x

(this is not likely needed here)

Related Materials

Related Services

Related API's

See Also

Back to the top