Ejemplo n.º 1
0
 public async Task <LogMessageV1> WriteMessageAsync(string correlationId, LogMessageV1 message)
 {
     using (var timing = Instrument(correlationId))
     {
         return(await CallCommandAsync <LogMessageV1>(
                    "write_message",
                    correlationId,
                    new
         {
             message = message
         }
                    ));
     }
 }
 public async Task <LogMessageV1> WriteMessageAsync(string correlationId, LogMessageV1 message)
 {
     return(await Task.FromResult(new LogMessageV1()));
 }