Click or drag to resize

DatabaseTargetWrite Method

Overload List
  NameDescription
Protected methodWrite(AsyncLogEventInfo)
Writes async log event to the log target.
(Inherited from Target.)
Protected methodWrite(IListAsyncLogEventInfo)
Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to optimize batch writes.
(Overrides TargetWrite(IListAsyncLogEventInfo).)
Protected methodWrite(LogEventInfo)
Writes the specified logging event to the database. It creates a new database command, prepares parameters for it by calculating layouts and executes the command.
(Overrides TargetWrite(LogEventInfo).)
Top
See Also