Programmatically Logging Errors With Elmah : Logging specific information
You could create your own exception object and pass that to Elmah.
Setup a static helper method and do something like
public static void HandleError(Exception ex, String customMsg){ Exception newEx = new Exception(customMsg, ex); Elmah.ErrorSignal.FromCurrentContext().Raise(newEx);}