| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.1) E67661-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Log
The log interface supplies an abstract layer for logging messages, errors and warnings.
| Method Summary | |
|---|---|
 int | 
nerrors()Returns the number of errors so far  | 
 int | 
nwarnings()Returns the number of warnings so far  | 
 void | 
print(java.lang.String string)Prints a string  | 
 void | 
printError(Storage source, int pos, ErrorInfo info)Prints an error message associated with a source  | 
 void | 
println(java.lang.String line)Prints a line  | 
 void | 
printWarning(Storage source, int pos, ErrorInfo info)Prints a warning message associated with a source  | 
 void | 
redirect(java.lang.String fileName)Redirects output into a file  | 
| Method Detail | 
|---|
void redirect(java.lang.String fileName)
fileName - The name of the desired output filevoid print(java.lang.String string)
string - The string to printvoid println(java.lang.String line)
line - The line to print
void printError(Storage source,
                int pos,
                ErrorInfo info)
source - The Storage associated with the errorpos - The error position in the source where the upper 16 bits contain the line number and the lower 16 bits the columninfo - The ErrorInfo associated with the error
void printWarning(Storage source,
                  int pos,
                  ErrorInfo info)
source - The Storage associated with the warningpos - The warning position in the source where the upper 16 bits contain the line number and the lower 16 bits the columninfo - The ErrorInfo associated with the warningint nerrors()
int nwarnings()
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.1) E67661-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||