After so long i need to use this ..thanks i found it easily here.
In version 10, GenericExtendedActions.Audit() is marked as obsolete, and description suggests to use LogMessage(). So I have changed to GenericExtendedActions.LogMessage() - but this doesn't log anything! At least not in service center General logs. I have changed back to Audit(). Is this a bug?
My using version 10.0.828.0 and used GenericExtendedActions.LogMessage() and it logs the messages in the Service Center General Log. I believe this is no longer an issue.