server code
public class RemoteSink : MarshalByRefObject, RemotingAppender.IRemoteLoggingSink { public void LogEvents(LoggingEvent[] events) {