I have done following things and i don't think i should get his Exception -
1) Logger.debug(LoggingLevel.INFO, 'Custom Message');
- A custom logger class
2) after above logger a call out to other system.
This debug message is a @future method and after this call i am making a call out and still getting
"System.CalloutException: You have uncommitted work pending. Please commit or rollback" exception
Anyone has any idea?