public class Logger
extends Object
Object to handle error logging
-
Constructor Summary
Constructors
Constructor |
Description |
Logger() |
|
-
Method Summary
Modifier and Type |
Method |
Description |
static ErrorCode |
log(ErrorCode code,
String origin) |
Logs an entry into the Phoenix DS Error/Logger stream
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
Logs an entry into the Phoenix DS Error/Logger stream
- Parameters:
code
- Error code to log. If OKAY is passed, no action is taken.
origin
- Origin string to send to DS/Log
- Returns:
- OKAY error code.