public void Log()

in src/Logging/RpcLogger.cs [41:66]


        public void Log(bool isUserOnlyLog, LogLevel logLevel, string message, Exception exception = null)
        {
            if (isUserOnlyLog)
            {
                // For user logs, we send them over Rpc with details about the invocation.
                var logMessage = new StreamingMessage
                {
                    RequestId = _requestId,
                    RpcLog = new RpcLog()
                    {
                        Exception = exception?.ToRpcException(),
                        InvocationId = _invocationId ?? "N/A",
                        Level = logLevel,
                        Message = message
                    }
                };

                _msgStream.Write(logMessage);

                outputLogHandler.LogToHandlers(logLevel.ToString(), message, exception);
            }
            else
            {
                WriteSystemLog(logLevel, message, _requestId, _invocationId);
            }
        }