add ulog
record the function name when registering OCs; log OCcall to ulog; add ocap() constructor