public void HandleOneWayMessage(
            IServiceRemotingRequestMessage requestMessage)
        {
            var state = new ServiceHostRemotingListenerLoggerMessageState(requestMessage);

            using (this.logger.BeginScope(state))
            {
                this.handler.HandleOneWayMessage(requestMessage);
            }
        }
        public Task <IServiceRemotingResponseMessage> HandleRequestResponseAsync(
            IServiceRemotingRequestContext requestContext,
            IServiceRemotingRequestMessage requestMessage)
        {
            var state = new ServiceHostRemotingListenerLoggerMessageState(requestMessage);

            using (this.logger.BeginScope(state))
            {
                return(this.handler.HandleRequestResponseAsync(requestContext, requestMessage));
            }
        }