public string ToConsoleString(string adminId)
        {
            string consoleString = EventType.ToString() + " " + Created.ToString("HH:mm:ss:fff");

            if (!MonitorServerID.IsNullOrBlank())
            {
                consoleString += " " + MonitorServerID + "(" + ProcessID + ")";
            }

            // Special case for dialplan events and super user. Add the username of the event to the start of the monitor message.
            if (adminId == m_topLevelAdminID && !Username.IsNullOrBlank())
            {
                consoleString += " " + Username;
            }

            if (EventType == SIPMonitorEventTypesEnum.FullSIPTrace)
            {
                consoleString += ":\r\n" + Message + "\r\n";
            }
            else
            {
                consoleString += ": " + Message + "\r\n";
            }

            return(consoleString);
        }