*\r
*/\r
public interface Env {\r
- /**\r
- * Very Severe Error may cause program to abort\r
- */\r
- public LogTarget fatal();\r
- \r
- /**\r
- * Severe Error, but program might continue running\r
- */\r
- public LogTarget error();\r
+ /**\r
+ * Very Severe Error may cause program to abort\r
+ */\r
+ public LogTarget fatal();\r
+ \r
+ /**\r
+ * Severe Error, but program might continue running\r
+ */\r
+ public LogTarget error();\r
\r
- /**\r
- * Required Audit statements\r
- * @return\r
- */\r
- public LogTarget audit();\r
+ /**\r
+ * Required Audit statements\r
+ * @return\r
+ */\r
+ public LogTarget audit();\r
\r
- /**\r
- * Initialization steps... Allows a Logger to separate startup info\r
- * @return\r
- */\r
- public LogTarget init();\r
+ /**\r
+ * Initialization steps... Allows a Logger to separate startup info\r
+ * @return\r
+ */\r
+ public LogTarget init();\r
\r
- /**\r
- * Potentially harmful situations\r
- * @return\r
- */\r
- public LogTarget warn();\r
- \r
- /**\r
- * Course Grained highlights of program progress\r
- * @return\r
- */\r
- public LogTarget info();\r
- \r
- /**\r
- * Fine-grained informational events useful for debugging\r
- * @return\r
- */\r
- public LogTarget debug();\r
- \r
- /**\r
- * Finest grained Informational events... more detailed than Debug\r
- * @return\r
- */\r
- public LogTarget trace();\r
+ /**\r
+ * Potentially harmful situations\r
+ * @return\r
+ */\r
+ public LogTarget warn();\r
+ \r
+ /**\r
+ * Course Grained highlights of program progress\r
+ * @return\r
+ */\r
+ public LogTarget info();\r
+ \r
+ /**\r
+ * Fine-grained informational events useful for debugging\r
+ * @return\r
+ */\r
+ public LogTarget debug();\r
+ \r
+ /**\r
+ * Finest grained Informational events... more detailed than Debug\r
+ * @return\r
+ */\r
+ public LogTarget trace();\r
\r
\r
- /**\r
- * Basic and Common Audit info... \r
- * \r
- * Note Apps can define, but should use Integers after 0x1F. They can combine with "&"\r
- */\r
- public static final int REMOTE = 0x01;\r
- public static final int XML = 0x02;\r
- public static final int JSON = 0x04;\r
- public static final int SUB = 0x08;\r
- public static final int CHECKPOINT = 0x10;\r
- public static final int ALWAYS = 0x20; // Mark as a line to print, even in WARN+ mode\r
+ /**\r
+ * Basic and Common Audit info... \r
+ * \r
+ * Note Apps can define, but should use Integers after 0x1F. They can combine with "&"\r
+ */\r
+ public static final int REMOTE = 0x01;\r
+ public static final int XML = 0x02;\r
+ public static final int JSON = 0x04;\r
+ public static final int SUB = 0x08;\r
+ public static final int CHECKPOINT = 0x10;\r
+ public static final int ALWAYS = 0x20; // Mark as a line to print, even in WARN+ mode\r
\r
\r
- \r
- /**\r
- * Start a Time Trail with differentiation by flag. This can be Defined By above flags or combined with\r
- * app flag definitions\r
- * \r
- * @param string\r
- * @param flag\r
- * @return\r
- */\r
- public TimeTaken start(String name, int flag);\r
- \r
- public String setProperty(String tag, String value);\r
- public String getProperty(String tag);\r
- public String getProperty(String tag, String deflt);\r
- \r
- /**\r
- * Passwords should be encrypted on the disk. Use this method to apply decryption before\r
- * using. The Implementation should give ways to decrypt\r
- * \r
- * @param tag\r
- * @return\r
- */\r
- public Decryptor decryptor();\r
- \r
- public Encryptor encryptor();\r
+ \r
+ /**\r
+ * Start a Time Trail with differentiation by flag. This can be Defined By above flags or combined with\r
+ * app flag definitions\r
+ * \r
+ * @param string\r
+ * @param flag\r
+ * @return\r
+ */\r
+ public TimeTaken start(String name, int flag);\r
+ \r
+ public String setProperty(String tag, String value);\r
+ public String getProperty(String tag);\r
+ public String getProperty(String tag, String deflt);\r
+ \r
+ /**\r
+ * Passwords should be encrypted on the disk. Use this method to apply decryption before\r
+ * using. The Implementation should give ways to decrypt\r
+ * \r
+ * @param tag\r
+ * @return\r
+ */\r
+ public Decryptor decryptor();\r
+ \r
+ public Encryptor encryptor();\r
\r
}\r
\r