Inheritance: SyslogTransportBase
        public void SyslogContentWithTags()
        {
            LogglyConfig.Instance.CustomerToken = "MyLogglyToken";

            var transport = new SyslogTcpTransport();
            var logglyMessage = new LogglyMessage();

            logglyMessage.Content = "myContent";

            var syslog = transport.ConstructSyslog(logglyMessage);

            Assert.AreEqual("[MyLogglyToken@41058 tag=\"myTag\"] myContent", syslog.Text);
        }
        public void SyslogContentWhenNoTags()
        {
            LogglyConfig.Instance.Tags.SimpleTags.Clear();

            var transport = new SyslogTcpTransport();
            var logglyMessage = new LogglyMessage();

            logglyMessage.Content = "myContent";

            var syslog = transport.ConstructSyslog(logglyMessage);

            Assert.AreEqual("[MyLogglyToken@41058] myContent", syslog.Text);
        }