Hello, I am trying to find a way to have my own custom parameters that I would log to a SQL Server Database. I am a newbie to this, so I got the "out-of-the-box" implementation of logging exception, message, dates to SQL Server, however, I want to pass my own variables the database. So, my table would fields would have something like:
Table name = CustonStuff Log Fields: MyCustomMessage MyCustomContactName MyCustomPhoneNumber I found code that creates a custom ADONetAppender, but there's more to it and I can seem to bridge even how that would translate into C# code on how to pass this data in the parameters. Thanks in advance, Harry The contents of this email are the property of PNC. If it was not addressed to you, you have no legal right to read it. If you think you received it in error, please notify the sender. Do not forward or copy without permission of the sender. This message may contain an advertisement of a product or service and thus may constitute a commercial electronic mail message under US Law. PNCs postal address is 249 Fifth Avenue, Pittsburgh, PA 15222. If you do not wish to receive any additional advertising or promotional messages from PNC at this e-mail address, click here to Unsubscribe. https://pnc.p.delivery.net/m/u/pnc/uni/p.asp By unsubscribing to this message, you will be unsubscribed from all advertising or promotional messages from PNC. Removing your e-mail address from this mailing list will not affect your subscription to alerts, e-newsletters or account servicing e-mails..
