deep

a Cross Development Platform for Java

User Tools

Site Tools


dev:logging

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:logging [2016/02/25 13:33] – external edit 127.0.0.1dev:logging [2022/12/20 11:29] (current) – [Error Reporting] ursgraf
Line 1: Line 1:
 ====== Logging and Error Reporting ====== ====== Logging and Error Reporting ======
 ===== Logging ===== ===== Logging =====
-The class //StdStreams// in the package //ch.ntb.inf.deep.host// defines three output streams.+The class //StdStreams// in the package //org.deepjava.host// defines three output streams.
  
   * log: is used for normal logging (e.g. successful compilation)   * log: is used for normal logging (e.g. successful compilation)
Line 14: Line 14:
  
 ===== Error Reporting ===== ===== Error Reporting =====
-The class ''ch.ntb.inf.deep.host.ErrorReporter'' is used for reporting errors. Each error increments //nofErrors//. The launcher checks this variable and stops if necessary.+The class ''org.deepjava.host.ErrorReporter'' is used for reporting errors. Each error increments //nofErrors//. The launcher checks this variable and stops if necessary.
  
 The ''ErrorReporter'' needs the file //ErrorMsg.txt// in the folder //rsc//. This text file contains error numbers, descriptions and possible solution. The methods //error(int errNr)// and //error(int errNr, String additonalInfo)// access //ErrorMsg.txt// The ''ErrorReporter'' needs the file //ErrorMsg.txt// in the folder //rsc//. This text file contains error numbers, descriptions and possible solution. The methods //error(int errNr)// and //error(int errNr, String additonalInfo)// access //ErrorMsg.txt//
dev/logging.1456403585.txt.gz · Last modified: 2016/02/25 13:33 by 127.0.0.1