Initial commit from SVN.

This commit is contained in:
wcrisman
2014-05-30 10:31:51 -07:00
commit b45e56b890
1968 changed files with 370949 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package com.foundation.web.interfaces;
/**
* Allows the application to log via the web server's UI.
*/
public interface IAppLog {
public static final int TYPE_ERROR = 0;
public static final int TYPE_WARNING = 1;
public static final int TYPE_INFORMATION = 2;
/**
* Handles logging a note and/or exception from a web application via the web server's UI.
* @param type The log type code.
* @param note String An optional note to be logged. If an exception is also specified, then the note should be bundled with the exception in the log output.
* @param exception Throwable An optional exception to be logged.
*/
public void log(int type, String note, Throwable exception);
}//IAppLog//