Design Pattern Framework 3.5
Log Method (sender, e)
Patterns-In-Action! Application ► Log ► ObserverLogToEmail ► Log(Object, LogEventArgs)
Sends a log request via email.
Declaration Syntax
C# | Visual Basic |
public void Log( Object sender, LogEventArgs e )
Public Sub Log ( _ sender As Object, _ e As LogEventArgs _ )
Parameters
- sender (Object)
- Sender of the log request.
- e (LogEventArgs)
- Parameters of the log request.
Remarks
Actual email 'Send' calls are commented out.
Uncomment if you have the proper email privileges.