public void Log(LogType logType, HttpRequestMessage request, string message) { using (Log.Log log = new Log.Log(logType, request, message)) { this.rabbitMQ.BootStrap("log", "topic_exchange_log").SendMessage(log.ToJson()); } }
public void Log(LogType logType) { using (Log.Log log = new Log.Log(logType)) { this.rabbitMQ.BootStrap("log", "topic_exchange_log").SendMessage(log.ToJson()); } }