/// <summary> /// Sends a <see cref="LogMessage"/> to the server. /// </summary> /// <param name="msg">The message that as to be logged.</param> public void WriteMessage(LogMessage msg) { IAthenaWcfService ch = CreateAndOpenChannel(); ch.WriteMessage(WcfLogMessage.FromLogMessage(msg)); CloseChannel(ch); }