OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl)getOADBTransaction();
if(oadbtransactionimpl.isLoggingEnabled(2)) { oadbtransactionimpl.writeDiagnostics(this, "insertRow().BEGIN", 2); }
Through this if we have enabled Diagnostic on then we can see our logs while runtime.
We can put anywhere in our OA Framework program.
There are Diagnostic option Show Log on Screen
Log Level
Unexpected (6)Error (5)Exception (4)Event (3)Procedure (2)Statement (1)
No comments:
Post a Comment