/// <summary>
 /// Enter a method.
 /// </summary>
 /// <param name="invocationId">Method invocation identifier.</param>
 /// <param name="instance">The instance with the method.</param>
 /// <param name="method">Name of the method.</param>
 /// <param name="parameters">Method parameters.</param>
 public void EnterMethod(string invocationId, object instance, string method,
     IDictionary<string, object> parameters)
 {
     _logger.DebugFormat(CultureInfo.InvariantCulture,
         "invocationId: {0}\r\ninstance: {1}\r\nmethod: {2}\r\nparameters: {3}",
         invocationId, instance, method, parameters.AsFormattedString());
 }
Ejemplo n.º 2
0
 public void EnterMethod(string invocationId, object instance, string method,
                         IDictionary <string, object> parameters)
 {
     _logger.DebugFormat(CultureInfo.InvariantCulture,
                         "invocationId: {0}\r\ninstance: {1}\r\nmethod: {2}\r\nparameters: {3}",
                         invocationId, instance, method, parameters.AsFormattedString());
 }
        /// <summary>
        /// Enter a method.
        /// </summary>
        /// <param name="invocationId">Method invocation identifier.</param>
        /// <param name="instance">The instance with the method.</param>
        /// <param name="method">Name of the method.</param>
        /// <param name="parameters">Method parameters.</param>
        public void Enter(string invocationId, object instance, string method, IDictionary<string, object> parameters)
        {
            string instanceAsString = instance == null ? string.Empty : instance.ToString();
            string parametersAsString = parameters == null ? string.Empty : parameters.AsFormattedString();

            CloudTracingEventSource.Log.Enter(invocationId, instanceAsString, method, parametersAsString);
        }
        /// <summary>
        /// Enter a method.
        /// </summary>
        /// <param name="invocationId">Method invocation identifier.</param>
        /// <param name="instance">The instance with the method.</param>
        /// <param name="method">Name of the method.</param>
        /// <param name="parameters">Method parameters.</param>
        public void Enter(string invocationId, object instance, string method, IDictionary <string, object> parameters)
        {
            string instanceAsString   = instance == null ? string.Empty : instance.ToString();
            string parametersAsString = parameters == null ? string.Empty : parameters.AsFormattedString();

            CloudTracingEventSource.Log.Enter(invocationId, instanceAsString, method, parametersAsString);
        }
Ejemplo n.º 5
0
 public void EnterMethod(string invocationId, object instance, string method, IDictionary <string, object> parameters)
 {
     this.logger.LogInformation(
         "invocationId: {0}\r\ninstance: {1}\r\nmethod: {2}\r\nparameters: {3}",
         invocationId,
         instance,
         method,
         parameters.AsFormattedString());
 }
Ejemplo n.º 6
0
 public void Enter(string invocationId, object instance, string method, IDictionary <string, object> parameters)
 {
     Write("{0} - [{1}]: Entered method {2} with arguments: {3}", invocationId, instance, method, parameters.AsFormattedString());
 }
 public void Enter(string invocationId, object instance, string method, IDictionary<string, object> parameters)
 {
     Write("{0} - [{1}]: Entered method {2} with arguments: {3}", invocationId, instance, method, parameters.AsFormattedString());
 }
 /// <summary>
 /// Trace the entry into a WAML operation
 /// </summary>
 /// <param name="invocationId">Correlation id</param>
 /// <param name="instance">implementing instance of the operation</param>
 /// <param name="method">Name of the method being called</param>
 /// <param name="parameters">Parameters passed in the method call, keyed by parameter name</param>
 public void Enter(string invocationId, object instance, string method, IDictionary <string, object> parameters)
 {
     WriteMessage("Enter: invocation: {0}, instance: {1}, method: {2}, parameters: {3}", invocationId, instance, method, parameters.AsFormattedString());
 }
Ejemplo n.º 9
0
 public void EnterMethod(string invocationId, object instance, string method, IDictionary <string, object> parameters) =>
 _logger.LogTrace("EnterMethod {InvocationId} {Instance} {Method} ({Parameters})", invocationId, instance, method, parameters.AsFormattedString());
Ejemplo n.º 10
0
 public void EnterMethod(string invocationId, object instance, string method, IDictionary <string, object> parameters)
 {
     Debug.WriteLine("invocationId: {0}\r\ninstance: {1}\r\nmethod: {2}\r\nparameters: {3}",
                     invocationId, instance, method, parameters.AsFormattedString());
 }
Ejemplo n.º 11
0
 public void EnterMethod(string invocationId, object instance, string method, IDictionary <string, object> parameters)
 {
     Console.WriteLine($"invocationId: {invocationId}\r\ninstance: {instance}\r\nmethod: {method}\r\nparameters: {parameters.AsFormattedString()}");
 }