added ESLint

This commit is contained in:
Craig Yamato 2018-10-15 00:41:59 +00:00
parent 0fd9a00f5c
commit 90bf5b9cde
19 changed files with 9006 additions and 4259 deletions

5
.eslintignore Normal file
View File

@ -0,0 +1,5 @@
node_modules/*
docs/*
jsdoc2md/*
coverage/*
tests/*

7
.eslintrc.json Normal file
View File

@ -0,0 +1,7 @@
{
"extends": "strongloop",
"env": {
"node": true,
"es6": true
}
}

2
CHANGELOG.md Normal file
View File

@ -0,0 +1,2 @@
## 0.1.0 (September 25, 2018)
- Beta release of Syslog-Pro.

View File

@ -10,13 +10,13 @@ API convention
## SyslogPro
The SyslogPro module for sending syslog messages
Most APIs will return a promise. These APIs can be used using
Most APIs will return a promise. These APIs can be used using
`then(...)/catch(...)`
Syslog formatting classes can be used as input into a Syslog class to be used
Syslog formatting classes can be used as input into a Syslog class to be used
simultaneously to the same Syslog server. The Syslog Class with a configured
Syslog server target can also be used as the input into each of the formatting
classes so that they may run independently.
Syslog server target can also be used as the input into each of the
formatting classes so that they may run independently.
**Version**: 0.1.0
**Author**: Craig Yamato <craig@kentik.com>
@ -113,11 +113,11 @@ classes so that they may run independently.
<a name="module_SyslogPro..Syslog"></a>
### SyslogPro~Syslog
A class to work with syslog messages using UDP, TCP, or TLS transport.
There is support for Syslog message formatting RFC-3164, RFC-5424 including
A class to work with syslog messages using UDP, TCP, or TLS transport.
There is support for Syslog message formatting RFC-3164, RFC-5424 including
Structured Data, IBM LEEF (Log Event Extended Format), and HP CEF (Common
Event Format).
Syslog formatting classes can be used as input into a Syslog class to be used
Syslog formatting classes can be used as input into a Syslog class to be used
simultaneously to the same Syslog server. *
**Kind**: inner class of [<code>SyslogPro</code>](#module_SyslogPro)
@ -149,18 +149,18 @@ Construct a new Syslog transport object with user options
| Param | Type | Default | Description |
| --- | --- | --- | --- |
| [options] | <code>object</code> | | Options object >>>Transport Configuration |
| [options.target] | <code>string</code> | <code>&quot;&#x27;localhost&#x27;&quot;</code> | The IP Address|FQDN of the Syslog Server, this option if set will take presidents over any target set in a formatting object |
| [options.protocol] | <code>string</code> | <code>&quot;&#x27;udp&#x27;&quot;</code> | L4 transport protocol (udp|tcp|tls), this option if set will take presidents over any transport set in a formatting object |
| [options.port] | <code>number</code> | <code>514</code> | IP port, this option if set will take presidents over any IP Port set in a formatting object |
| [options.tcpTimeout] | <code>number</code> | <code>10000</code> | Ignored for all other transports, this option if set will take presidents over any timeout set in a formatting object |
| [options.tlsServerCerts] | <code>Array.&lt;string&gt;</code> | | Array of authorized TLS server certificates file locations, this option if set will take presidents over any certificates set in a formatting object |
| [options.tlsClientCert] | <code>string</code> | | Client TLS certificate file location that this client should use, this option if set will take presidents over any certificates set in a formatting object |
| [options.tlsClientKey] | <code>string</code> | | Client TLS key file location that this client should use, this option if set will take presidents over any certificates set in a formatting object >>>Syslog Format Settings |
| [options.format] | <code>string</code> | <code>&quot;&#x27;none&#x27;&quot;</code> | Valid syslog format options for this module are 'none', 'rfc3164', 'rfc5424', 'leef', 'cef' |
| [options.target] | <code>string</code> | <code>&quot;&#x27;localhost&#x27;&quot;</code> | The IP Address|FQDN of the Syslog Server, this option if set will take presidents over any target set in a formatting object |
| [options.protocol] | <code>string</code> | <code>&quot;&#x27;udp&#x27;&quot;</code> | L4 transport protocol (udp|tcp|tls), this option if set will take presidents over any transport set in a formatting object |
| [options.port] | <code>number</code> | <code>514</code> | IP port, this option if set will take presidents over any IP Port set in a formatting object |
| [options.tcpTimeout] | <code>number</code> | <code>10000</code> | Ignored for all other transports, this option if set will take presidents over any timeout set in a formatting object |
| [options.tlsServerCerts] | <code>Array.&lt;string&gt;</code> | | Array of authorized TLS server certificates file locations, this option if set will take presidents over any certificates set in a formatting object |
| [options.tlsClientCert] | <code>string</code> | | Client TLS certificate file location that this client should use, this option if set will take presidents over any certificates set in a formatting object |
| [options.tlsClientKey] | <code>string</code> | | Client TLS key file location that this client should use, this option if set will take presidents over any certificates set in a formatting object >>>Syslog Format Settings |
| [options.format] | <code>string</code> | <code>&quot;&#x27;none&#x27;&quot;</code> | Valid syslog format options for this module are 'none', 'rfc3164', 'rfc5424', 'leef', 'cef' |
| [options.rfc5424] | <code>RFC3164</code> | | {@link module:SyslogPro~RFC5424| RFC5424 related settings} |
| [options.rfc5424] | <code>RFC5424</code> | | {@link module:SyslogPro~RFC5424| RFC5424 related settings} |
| [options.leef] | <code>LEEF</code> | | {@link module:SyslogPro~LEEF|IBM LEEF (Log Event Extended Format) object} |
| [options.cef] | <code>CEF</code> | | {@link module:SyslogPro~CEF|HP CEF (Common Event Format) formatting object} |
| [options.leef] | <code>LEEF</code> | | {@link module:SyslogPro~LEEF|IBM LEEF (Log Event Extended Format) object} |
| [options.cef] | <code>CEF</code> | | {@link module:SyslogPro~CEF|HP CEF (Common Event Format) formatting object} |
<a name="module_SyslogPro..Syslog+target"></a>
@ -213,16 +213,16 @@ Construct a new Syslog transport object with user options
<a name="module_SyslogPro..RFC3164"></a>
### SyslogPro~RFC3164
A class to work with RFC3164 formatted syslog messages. The messaging is fully configurable and ANSI foreground
colors can be added. Both ANSI 8 and ANSI 256 color are fully supported.
Most APIs will return a promise. These APIs can be used using
`then(...)/catch(...)`
A class to work with RFC3164 formatted syslog messages. The messaging is
fully configurable and ANSI foreground colors can be added. Both ANSI 8 and
ANSI 256 color are fully supported. Most APIs will return a promise. These
APIs can be used using `then(...)/catch(...)`
A Syslog class with a configured
Syslog server target can also be used as the input into the formatting
Syslog server target can also be used as the input into the formatting
classes so that it may run independently.
The RFC3164 Syslog logging format is meant to be used as a stream of log data
The RFC3164 Syslog logging format is meant to be used as a stream of log data
from a service or application. This class is designed to be used in this
fashion where new messages are written to the class as needed.
@ -265,19 +265,19 @@ Construct a new RFC3164 formatted Syslog object with user options
| [options] | <code>object</code> | | Options object |
| [options.applacationName] | <code>string</code> | <code>&quot;&#x27;NodeJSLogger&#x27;&quot;</code> | Application |
| [options.hostname] | <code>string</code> | <code>&quot;os.hostname&quot;</code> | The name of this server |
| [options.facility] | <code>number</code> | <code>23</code> | Facility code to use sending this message |
| [options.color] | <code>boolean</code> | <code>false</code> | Apply color coding encoding tag with syslog message text |
| [options.extendedColor] | <code>boolean</code> | <code>false</code> | Use the extended ANSI color set encoding tag with syslog message text |
| [options.colors] | <code>object</code> | | User defended colors for severities |
| [options.colors.emergencyColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.alertColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.criticalColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.errorColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.warningColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.noticeColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.informationalColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.debugColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.server] | <code>Syslog</code> | <code>false</code> | A {@link module:SyslogPro~Syslog| Syslog server connection} that should be used to send messages directly from this class. @see SyslogPro~Syslog |
| [options.facility] | <code>number</code> | <code>23</code> | Facility code to use sending this message |
| [options.color] | <code>boolean</code> | <code>false</code> | Apply color coding encoding tag with syslog message text |
| [options.extendedColor] | <code>boolean</code> | <code>false</code> | Use the extended ANSI color set encoding tag with syslog message text |
| [options.colors] | <code>object</code> | | User defended colors for severities |
| [options.colors.emergencyColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.alertColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.criticalColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.errorColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.warningColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.noticeColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.informationalColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.debugColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.server] | <code>Syslog</code> | <code>false</code> | A {@link module:SyslogPro~Syslog| Syslog server connection} that should be used to send messages directly from this class. @see SyslogPro~Syslog |
<a name="module_SyslogPro..RFC3164+color"></a>
@ -301,14 +301,14 @@ Sets the color to be used for messages at a set priority
| Param | Type | Description |
| --- | --- | --- |
| [colors.emergencyColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.alertColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.criticalColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.errorColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.warningColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.noticeColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.informationalColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.debugColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.emergencyColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.alertColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.criticalColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.errorColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.warningColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.noticeColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.informationalColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.debugColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
<a name="module_SyslogPro..RFC3164+buildMessage"></a>
@ -328,13 +328,13 @@ Building a formatted message. Returns a promise with a formatted message
| msg | <code>string</code> | | The Syslog Message |
| [options] | <code>object</code> | | Options object |
| [options.severity] | <code>number</code> | <code>7</code> | An array of structure |
| [options.colorCode] | <code>number</code> | <code>36</code> | The ANSI color code to use if message coloration is selected |
| [options.colorCode] | <code>number</code> | <code>36</code> | The ANSI color code to use if message coloration is selected |
<a name="module_SyslogPro..RFC3164+send"></a>
#### rfC3164.send(msg, [options]) ⇒ <code>Promise</code>
send a RFC5424 formatted message. Returns a promise with the formatted
message that was sent. If no server connection was defined when the
send a RFC5424 formatted message. Returns a promise with the formatted
message that was sent. If no server connection was defined when the
class was created a default Syslog connector will be used.
**Kind**: instance method of [<code>RFC3164</code>](#module_SyslogPro..RFC3164)
@ -555,7 +555,7 @@ Send a syslog message with a severity level of 6 (Informational)
| Param | Type | Description |
| --- | --- | --- |
| msg | <code>string</code> | The informational message to send to the Syslog server |
| msg | <code>string</code> | The informational message to send to the Syslog server |
<a name="module_SyslogPro..RFC3164+info"></a>
@ -572,7 +572,7 @@ Send a syslog message with a severity level of 6 (Informational)
| Param | Type | Description |
| --- | --- | --- |
| msg | <code>string</code> | The informational message to send to the Syslog server |
| msg | <code>string</code> | The informational message to send to the Syslog server |
<a name="module_SyslogPro..RFC3164+log"></a>
@ -589,7 +589,7 @@ Send a syslog message with a severity level of 6 (Informational)
| Param | Type | Description |
| --- | --- | --- |
| msg | <code>string</code> | The informational message to send to the Syslog server |
| msg | <code>string</code> | The informational message to send to the Syslog server |
<a name="module_SyslogPro..RFC3164+debug"></a>
@ -611,16 +611,17 @@ Send a syslog message with a severity level of 7 (Debug)
<a name="module_SyslogPro..RFC5424"></a>
### SyslogPro~RFC5424
A class to work with RFC5424 formatted syslog messages. The messaging is fully configurable and ANSI foreground
colors can be added. Both ANSI 8 and ANSI 256 color are fully supported.
Most APIs will return a promise. These APIs can be used using
A class to work with RFC5424 formatted syslog messages. The messaging is
fully configurable and ANSI foreground * colors can be added. Both ANSI 8
and ANSI 256 color are fully supported.
Most APIs will return a promise. These APIs can be used using
`then(...)/catch(...)`
A Syslog class with a configured
Syslog server target can also be used as the input into the formatting
Syslog server target can also be used as the input into the formatting
classes so that it may run independently.
The RFC5424 Syslog logging format is meant to be used as a stream of log data
The RFC5424 Syslog logging format is meant to be used as a stream of log data
from a service or application. This class is designed to be used in this
fashion where new messages are written to the class as needed.
@ -670,23 +671,23 @@ Construct a new RFC5424 formatted Syslog object with user options
| [options.applacationName] | <code>string</code> | <code>&quot;&#x27;NodeJSLogger&#x27;&quot;</code> | Application |
| [options.hostname] | <code>string</code> | <code>&quot;os.hostname&quot;</code> | The name of this server |
| [options.timestamp] | <code>boolean</code> | <code>false</code> | Included a Timestamp |
| [options.timestampUTC] | <code>boolean</code> | <code>false</code> | RFC standard is for local time |
| [options.timestampMS] | <code>boolean</code> | <code>false</code> | Timestamp with ms resolution |
| [options.timestampUTC] | <code>boolean</code> | <code>false</code> | RFC standard is for local time |
| [options.timestampMS] | <code>boolean</code> | <code>false</code> | Timestamp with ms resolution |
| [options.timestampTZ] | <code>boolean</code> | <code>true</code> | Should the timestamp included time zone |
| [options.encludeStructuredData] | <code>boolean</code> | <code>false</code> | Included any provided structured data |
| [options.encludeStructuredData] | <code>boolean</code> | <code>false</code> | Included any provided structured data |
| [options.utf8BOM] | <code>boolean</code> | <code>true</code> | Included the UTF8 |
| [options.color] | <code>boolean</code> | <code>false</code> | Included the UTF8 |
| [options.extendedColor] | <code>boolean</code> | <code>false</code> | Included the UTF8 encoding tag with syslog message text |
| [options.colors] | <code>object</code> | | User defended colors for severities |
| [options.colors.emergencyColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.alertColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.criticalColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.errorColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.warningColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.noticeColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.informationalColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.debugColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.server] | <code>Syslog</code> | <code>false</code> | A {@link module:SyslogPro~Syslog| Syslog server connection} that should be used to send messages directly from this class. @see SyslogPro~Syslog |
| [options.extendedColor] | <code>boolean</code> | <code>false</code> | Included the UTF8 encoding tag with syslog message text |
| [options.colors] | <code>object</code> | | User defended colors for severities |
| [options.colors.emergencyColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.alertColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.criticalColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.errorColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.warningColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.noticeColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.informationalColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.colors.debugColor] | <code>string</code> | | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [options.server] | <code>Syslog</code> | <code>false</code> | A {@link module:SyslogPro~Syslog| Syslog server connection} that should be used to send messages directly from this class. @see SyslogPro~Syslog |
<a name="module_SyslogPro..RFC5424+timestamp"></a>
@ -734,14 +735,14 @@ Sets the color to be used for messages at a set priority
| Param | Type | Description |
| --- | --- | --- |
| [colors.emergencyColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.alertColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.criticalColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.errorColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.warningColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.noticeColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.informationalColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.debugColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.emergencyColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.alertColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.criticalColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.errorColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.warningColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.noticeColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.informationalColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
| [colors.debugColor] | <code>string</code> | A RGB Hex coded color in the form of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255 Extended) |
<a name="module_SyslogPro..RFC5424+buildMessage"></a>
@ -761,16 +762,16 @@ Building a formatted message. Returns a promise with a formatted message
| msg | <code>string</code> | | The Syslog Message |
| [options] | <code>object</code> | | Options object |
| [options.severity] | <code>number</code> | <code>7</code> | An array of structure |
| [options.facility] | <code>number</code> | <code>23</code> | Facility code to use sending this message |
| [options.pid] | <code>string</code> | <code>&quot;&#x27;-&#x27;&quot;</code> | The process id of the service sending this message |
| [options.structuredData] | <code>Array.&lt;string&gt;</code> | | An array of structure data strings conforming to the IETF/IANA defined SD-IDs or IANA registered SMI Network Management Private Enterprise Code SD-ID conforming to the format [name@<private enterprise number> parameter=value] |
| [options.colorCode] | <code>number</code> | <code>36</code> | The ANSI color code to use if message coloration is selected |
| [options.facility] | <code>number</code> | <code>23</code> | Facility code to use sending this message |
| [options.pid] | <code>string</code> | <code>&quot;&#x27;-&#x27;&quot;</code> | The process id of the service sending this message |
| [options.structuredData] | <code>Array.&lt;string&gt;</code> | | An array of structure data strings conforming to the IETF/IANA defined SD-IDs or IANA registered SMI Network Management Private Enterprise Code SD-ID conforming to the format [name@<private enterprise number> parameter=value] |
| [options.colorCode] | <code>number</code> | <code>36</code> | The ANSI color code to use if message coloration is selected |
<a name="module_SyslogPro..RFC5424+send"></a>
#### rfC5424.send(msg) ⇒ <code>Promise</code>
send a RFC5424 formatted message. Returns a promise with the formatted
message that was sent. If no server connection was defined when the
send a RFC5424 formatted message. Returns a promise with the formatted
message that was sent. If no server connection was defined when the
class was created a default Syslog connector will be used.
**Kind**: instance method of [<code>RFC5424</code>](#module_SyslogPro..RFC5424)
@ -988,7 +989,7 @@ Send a syslog message with a severity level of 6 (Informational)
| Param | Type | Description |
| --- | --- | --- |
| msg | <code>string</code> | The informational message to send to the Syslog server |
| msg | <code>string</code> | The informational message to send to the Syslog server |
<a name="module_SyslogPro..RFC5424+info"></a>
@ -1005,7 +1006,7 @@ Send a syslog message with a severity level of 6 (Informational)
| Param | Type | Description |
| --- | --- | --- |
| msg | <code>string</code> | The informational message to send to the Syslog server |
| msg | <code>string</code> | The informational message to send to the Syslog server |
<a name="module_SyslogPro..RFC5424+log"></a>
@ -1022,7 +1023,7 @@ Send a syslog message with a severity level of 6 (Informational)
| Param | Type | Description |
| --- | --- | --- |
| msg | <code>string</code> | The informational message to send to the Syslog server |
| msg | <code>string</code> | The informational message to send to the Syslog server |
<a name="module_SyslogPro..RFC5424+debug"></a>
@ -1046,15 +1047,15 @@ Send a syslog message with a severity level of 7 (Debug)
### SyslogPro~LEEF
A class to work with IBM LEEF (Log Event Extended Format) messages this form
of system messages are designed to work with security systems. Messages can
be saved to file (Saving to file if not part of this module but a LEEF
formatted message produced by this module can be saved externally to it) or
sent via Syslog.
Most APIs will return a promise. These APIs can be used using
be saved to file (Saving to file if not part of this module but a LEEF
formatted message produced by this module can be saved externally to it) or
sent via Syslog.
Most APIs will return a promise. These APIs can be used using
`then(...)/catch(...)`
A Syslog class with a configured Syslog server target can also be used as
the input into the formatting classes so that it may run independently. The
LEEF format is designed to send event data to a SIEM system and should not
A Syslog class with a configured Syslog server target can also be used as
the input into the formatting classes so that it may run independently. The
LEEF format is designed to send event data to a SIEM system and should not
be as a logging stream. This class is meant to be used once per message.
**Kind**: inner class of [<code>SyslogPro</code>](#module_SyslogPro)
@ -1083,12 +1084,12 @@ Construct a new LEEF formatting object with user options
| --- | --- | --- | --- |
| [options] | <code>object</code> | | Options object |
| [options.vendor] | <code>string</code> | <code>&quot;&#x27;unknown&#x27;&quot;</code> | The vendor of the system that generated the event being reported |
| [options.product] | <code>string</code> | <code>&quot;&#x27;unknown&#x27;&quot;</code> | The product name of the system that genrated the event being reported |
| [options.version] | <code>string</code> | <code>&quot;&#x27;unknown&#x27;&quot;</code> | The version name of the system that genrated the event being reported |
| [options.eventId] | <code>string</code> | <code>&quot;&#x27;unknown&#x27;&quot;</code> | The eventId of the system that genrated the event being reported |
| [options.attributes] | <code>object</code> | | LEEF message attributes which defaults to all base attributes with null values, new attributes should be added as new elements to this object |
| [options.syslogHeader] | <code>boolean</code> | <code>&#x27;true&#x27;</code> | Should the LEEF message include a Syslog header with Timestamp and source |
| [options.server] | <code>Syslog</code> | <code>false</code> | A {@link module:SyslogPro~Syslog| Syslog server connection} that should be used to send messages directly from this class. @see SyslogPro~Syslog |
| [options.product] | <code>string</code> | <code>&quot;&#x27;unknown&#x27;&quot;</code> | The product name of the system that genrated the event being reported |
| [options.version] | <code>string</code> | <code>&quot;&#x27;unknown&#x27;&quot;</code> | The version name of the system that genrated the event being reported |
| [options.eventId] | <code>string</code> | <code>&quot;&#x27;unknown&#x27;&quot;</code> | The eventId of the system that genrated the event being reported |
| [options.attributes] | <code>object</code> | | LEEF message attributes which defaults to all base attributes with null values, new attributes should be added as new elements to this object |
| [options.syslogHeader] | <code>boolean</code> | <code>&#x27;true&#x27;</code> | Should the LEEF message include a Syslog header with Timestamp and source |
| [options.server] | <code>Syslog</code> | <code>false</code> | A {@link module:SyslogPro~Syslog| Syslog server connection} that should be used to send messages directly from this class. @see SyslogPro~Syslog |
<a name="module_SyslogPro..LEEF+vendor"></a>
@ -1130,23 +1131,23 @@ Build a formatted message
| Param | Type | Default | Description |
| --- | --- | --- | --- |
| [options] | <code>Syslog</code> | <code>false</code> | A {@link module:SyslogPro~Syslog| Syslog server connection} that should be used to send messages directly from this class. @see SyslogPro~Syslog |
| [options] | <code>Syslog</code> | <code>false</code> | A {@link module:SyslogPro~Syslog| Syslog server connection} that should be used to send messages directly from this class. @see SyslogPro~Syslog |
<a name="module_SyslogPro..CEF"></a>
### SyslogPro~CEF
A class to work with HP CEF (Common Event Format) messages. This form
of system messages are designed to work with security systems. Messages can
be saved to file (Saving to file if not part of this module but a CEF
formatted message produced by this module can be saved externally to it) or
be saved to file (Saving to file if not part of this module but a CEF
formatted message produced by this module can be saved externally to it) or
sent via Syslog.
Most APIs will return a promise. These APIs can be used using
Most APIs will return a promise. These APIs can be used using
`then(...)/catch(...)`
A Syslog class with a configured Syslog server target can also be used as
the input into the formatting classes so that it may run independently. The CEF
format is designed to send event data to a SIEM system and should not be as
a logging stream. This class is meant to be used once per message.
A Syslog class with a configured Syslog server target can also be used as
the input into the formatting classes so that it may run independently. The
CEF format is designed to send event data to a SIEM system and should not be
as a logging stream. This class is meant to be used once per message.
**Kind**: inner class of [<code>SyslogPro</code>](#module_SyslogPro)
**Requires**: <code>module:moment</code>
@ -1175,14 +1176,14 @@ Construct a new CEF formatting object with user options
| Param | Type | Default | Description |
| --- | --- | --- | --- |
| [options] | <code>object</code> | | Options object |
| [options.deviceVendor] | <code>string</code> | <code>&quot;&#x27;unknown&#x27;&quot;</code> | The vendor of the system that generated the event being reported |
| [options.deviceProduct] | <code>string</code> | <code>&quot;&#x27;unknown&#x27;&quot;</code> | The product name of the system that genrated the event being reported |
| [options.deviceVersion] | <code>string</code> | <code>&quot;&#x27;unknown&#x27;&quot;</code> | The version name of the system that genrated the event being reported |
| [options.deviceEventClassId] | <code>string</code> | <code>&quot;&#x27;unknown&#x27;&quot;</code> | The eventId of the system that genrated the event being reported |
| [options.name] | <code>string</code> | <code>&quot;&#x27;unknown&#x27;&quot;</code> | Name of the service generating the notice |
| [options.deviceVendor] | <code>string</code> | <code>&quot;&#x27;unknown&#x27;&quot;</code> | The vendor of the system that generated the event being reported |
| [options.deviceProduct] | <code>string</code> | <code>&quot;&#x27;unknown&#x27;&quot;</code> | The product name of the system that genrated the event being reported |
| [options.deviceVersion] | <code>string</code> | <code>&quot;&#x27;unknown&#x27;&quot;</code> | The version name of the system that genrated the event being reported |
| [options.deviceEventClassId] | <code>string</code> | <code>&quot;&#x27;unknown&#x27;&quot;</code> | The eventId of the system that genrated the event being reported |
| [options.name] | <code>string</code> | <code>&quot;&#x27;unknown&#x27;&quot;</code> | Name of the service generating the notice |
| [options.severity] | <code>string</code> | <code>&quot;&#x27;unknown&#x27;&quot;</code> | Severity of the notification |
| [options.extensions] | <code>string</code> | <code>&quot;{}&quot;</code> | Any CEF Key=Value extensions |
| [options.server] | <code>Syslog</code> | <code>false</code> | A {@link module:SyslogPro~Syslog| Syslog server connection} that should be used to send messages directly from this class. @see SyslogPro~Syslog |
| [options.server] | <code>Syslog</code> | <code>false</code> | A {@link module:SyslogPro~Syslog| Syslog server connection} that should be used to send messages directly from this class. @see SyslogPro~Syslog |
<a name="module_SyslogPro..CEF+deviceVendor"></a>
@ -1240,7 +1241,7 @@ Build a CEF formated string
| Param | Type | Default | Description |
| --- | --- | --- | --- |
| [options] | <code>Syslog</code> | <code>false</code> | A {@link module:SyslogPro~Syslog| Syslog server connection} that should be used to send messages directly from this class. @see SyslogPro~Syslog |
| [options] | <code>Syslog</code> | <code>false</code> | A {@link module:SyslogPro~Syslog| Syslog server connection} that should be used to send messages directly from this class. @see SyslogPro~Syslog |
*docs autogenerated via [jsdoc2md]

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -167,7 +167,7 @@ changed functionality. Lint and test your code.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Sep 25 2018 19:37:57 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 15 2018 00:40:26 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>
<script>prettyPrint();</script>

File diff suppressed because it is too large Load Diff

View File

@ -51,16 +51,16 @@
<div class="class-description">A class to work with HP CEF (Common Event Format) messages. This form
of system messages are designed to work with security systems. Messages can
be saved to file (Saving to file if not part of this module but a CEF
formatted message produced by this module can be saved externally to it) or
be saved to file (Saving to file if not part of this module but a CEF
formatted message produced by this module can be saved externally to it) or
sent via Syslog.
Most APIs will return a promise. These APIs can be used using
Most APIs will return a promise. These APIs can be used using
`then(...)/catch(...)`
A Syslog class with a configured Syslog server target can also be used as
the input into the formatting classes so that it may run independently. The CEF
format is designed to send event data to a SIEM system and should not be as
a logging stream. This class is meant to be used once per message.</div>
A Syslog class with a configured Syslog server target can also be used as
the input into the formatting classes so that it may run independently. The
CEF format is designed to send event data to a SIEM system and should not be
as a logging stream. This class is meant to be used once per message.</div>
</header>
@ -87,7 +87,7 @@ a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1868">line 1868</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1880">line 1880</a>
</li></ul></dd>
@ -261,7 +261,7 @@ a logging stream. This class is meant to be used once per message.</div>
</td>
<td class="description last">The vendor of the system
<td class="description last">The vendor of the system
that generated the event being reported</td>
</tr>
@ -301,7 +301,7 @@ a logging stream. This class is meant to be used once per message.</div>
</td>
<td class="description last">The product name of the
<td class="description last">The product name of the
system that genrated the event being reported</td>
</tr>
@ -341,7 +341,7 @@ a logging stream. This class is meant to be used once per message.</div>
</td>
<td class="description last">The version name of the
<td class="description last">The version name of the
system that genrated the event being reported</td>
</tr>
@ -381,7 +381,7 @@ a logging stream. This class is meant to be used once per message.</div>
</td>
<td class="description last">The eventId of the
<td class="description last">The eventId of the
system that genrated the event being reported</td>
</tr>
@ -421,7 +421,7 @@ a logging stream. This class is meant to be used once per message.</div>
</td>
<td class="description last">Name of the service generating
<td class="description last">Name of the service generating
the notice</td>
</tr>
@ -539,7 +539,7 @@ a logging stream. This class is meant to be used once per message.</div>
</td>
<td class="description last">A <a href="module-SyslogPro-Syslog.html"> Syslog server connection</a> that should be used to send messages directly
<td class="description last">A <a href="module-SyslogPro-Syslog.html"> Syslog server connection</a> that should be used to send messages directly
from this class. @see SyslogPro~Syslog</td>
</tr>
@ -610,7 +610,7 @@ a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1891">line 1891</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1903">line 1903</a>
</li></ul></dd>
@ -669,7 +669,7 @@ a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1900">line 1900</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1912">line 1912</a>
</li></ul></dd>
@ -738,7 +738,7 @@ a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1896">line 1896</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1908">line 1908</a>
</li></ul></dd>
@ -807,7 +807,7 @@ a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1894">line 1894</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1906">line 1906</a>
</li></ul></dd>
@ -876,7 +876,7 @@ a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1898">line 1898</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1910">line 1910</a>
</li></ul></dd>
@ -945,7 +945,7 @@ a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1906">line 1906</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1918">line 1918</a>
</li></ul></dd>
@ -1014,7 +1014,7 @@ a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1902">line 1902</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1914">line 1914</a>
</li></ul></dd>
@ -1083,7 +1083,7 @@ a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line2068">line 2068</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line2080">line 2080</a>
</li></ul></dd>
@ -1142,7 +1142,7 @@ a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1904">line 1904</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1916">line 1916</a>
</li></ul></dd>
@ -1221,7 +1221,7 @@ a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line2308">line 2308</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line3321">line 3321</a>
</li></ul></dd>
@ -1327,7 +1327,7 @@ a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line2335">line 2335</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line3349">line 3349</a>
</li></ul></dd>
@ -1437,7 +1437,7 @@ a logging stream. This class is meant to be used once per message.</div>
</td>
<td class="description last">A <a href="module-SyslogPro-Syslog.html"> Syslog server connection</a> that should be used to send messages directly
<td class="description last">A <a href="module-SyslogPro-Syslog.html"> Syslog server connection</a> that should be used to send messages directly
from this class. @see SyslogPro~Syslog</td>
</tr>
@ -1477,7 +1477,7 @@ a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line2080">line 2080</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line2092">line 2092</a>
</li></ul></dd>
@ -1615,7 +1615,7 @@ a logging stream. This class is meant to be used once per message.</div>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Sep 25 2018 19:37:57 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 15 2018 00:40:26 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>
<script>prettyPrint();</script>

View File

@ -51,15 +51,15 @@
<div class="class-description">A class to work with IBM LEEF (Log Event Extended Format) messages this form
of system messages are designed to work with security systems. Messages can
be saved to file (Saving to file if not part of this module but a LEEF
formatted message produced by this module can be saved externally to it) or
sent via Syslog.
Most APIs will return a promise. These APIs can be used using
be saved to file (Saving to file if not part of this module but a LEEF
formatted message produced by this module can be saved externally to it) or
sent via Syslog.
Most APIs will return a promise. These APIs can be used using
`then(...)/catch(...)`
A Syslog class with a configured Syslog server target can also be used as
the input into the formatting classes so that it may run independently. The
LEEF format is designed to send event data to a SIEM system and should not
A Syslog class with a configured Syslog server target can also be used as
the input into the formatting classes so that it may run independently. The
LEEF format is designed to send event data to a SIEM system and should not
be as a logging stream. This class is meant to be used once per message.</div>
@ -87,7 +87,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1704">line 1704</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1716">line 1716</a>
</li></ul></dd>
@ -301,7 +301,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
</td>
<td class="description last">The product name of the
<td class="description last">The product name of the
system that genrated the event being reported</td>
</tr>
@ -341,7 +341,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
</td>
<td class="description last">The version name of the
<td class="description last">The version name of the
system that genrated the event being reported</td>
</tr>
@ -381,7 +381,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
</td>
<td class="description last">The eventId of the
<td class="description last">The eventId of the
system that genrated the event being reported</td>
</tr>
@ -419,7 +419,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
</td>
<td class="description last">LEEF message attributes which
<td class="description last">LEEF message attributes which
defaults to all base attributes with null values, new attributes should
be added as new elements to this object</td>
</tr>
@ -460,7 +460,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
</td>
<td class="description last">Should the LEEF message
<td class="description last">Should the LEEF message
include a Syslog header with Timestamp and source</td>
</tr>
@ -500,7 +500,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
</td>
<td class="description last">A <a href="module-SyslogPro-Syslog.html"> Syslog server connection</a> that should be used to send messages directly
<td class="description last">A <a href="module-SyslogPro-Syslog.html"> Syslog server connection</a> that should be used to send messages directly
from this class. @see SyslogPro~Syslog</td>
</tr>
@ -571,7 +571,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1742">line 1742</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1754">line 1754</a>
</li></ul></dd>
@ -640,7 +640,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1728">line 1728</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1740">line 1740</a>
</li></ul></dd>
@ -699,7 +699,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1737">line 1737</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1749">line 1749</a>
</li></ul></dd>
@ -768,7 +768,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1733">line 1733</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1745">line 1745</a>
</li></ul></dd>
@ -837,7 +837,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1793">line 1793</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1805">line 1805</a>
</li></ul></dd>
@ -896,7 +896,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1739">line 1739</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1751">line 1751</a>
</li></ul></dd>
@ -965,7 +965,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1731">line 1731</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1743">line 1743</a>
</li></ul></dd>
@ -1034,7 +1034,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1735">line 1735</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1747">line 1747</a>
</li></ul></dd>
@ -1113,7 +1113,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1804">line 1804</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1816">line 1816</a>
</li></ul></dd>
@ -1219,7 +1219,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1832">line 1832</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1844">line 1844</a>
</li></ul></dd>
@ -1329,7 +1329,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
</td>
<td class="description last">A <a href="module-SyslogPro-Syslog.html"> Syslog server connection</a> that should be used to send messages directly
<td class="description last">A <a href="module-SyslogPro-Syslog.html"> Syslog server connection</a> that should be used to send messages directly
from this class. @see SyslogPro~Syslog</td>
</tr>
@ -1372,7 +1372,7 @@ be as a logging stream. This class is meant to be used once per message.</div>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Sep 25 2018 19:37:57 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 15 2018 00:40:26 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>
<script>prettyPrint();</script>

View File

@ -49,16 +49,16 @@
RFC3164
</h2>
<div class="class-description">A class to work with RFC3164 formatted syslog messages. The messaging is fully configurable and ANSI foreground
colors can be added. Both ANSI 8 and ANSI 256 color are fully supported.
Most APIs will return a promise. These APIs can be used using
`then(...)/catch(...)`
<div class="class-description">A class to work with RFC3164 formatted syslog messages. The messaging is
fully configurable and ANSI foreground colors can be added. Both ANSI 8 and
ANSI 256 color are fully supported. Most APIs will return a promise. These
APIs can be used using `then(...)/catch(...)`
A Syslog class with a configured
Syslog server target can also be used as the input into the formatting
Syslog server target can also be used as the input into the formatting
classes so that it may run independently.
The RFC3164 Syslog logging format is meant to be used as a stream of log data
The RFC3164 Syslog logging format is meant to be used as a stream of log data
from a service or application. This class is designed to be used in this
fashion where new messages are written to the class as needed.</div>
@ -87,7 +87,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line469">line 469</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line472">line 472</a>
</li></ul></dd>
@ -339,7 +339,7 @@ fashion where new messages are written to the class as needed.</div>
</td>
<td class="description last">Facility code to use sending this
<td class="description last">Facility code to use sending this
message</td>
</tr>
@ -379,7 +379,7 @@ fashion where new messages are written to the class as needed.</div>
</td>
<td class="description last">Apply color coding encoding tag
<td class="description last">Apply color coding encoding tag
with syslog message text</td>
</tr>
@ -419,7 +419,7 @@ fashion where new messages are written to the class as needed.</div>
</td>
<td class="description last">Use the extended ANSI
<td class="description last">Use the extended ANSI
color set encoding tag with syslog message text</td>
</tr>
@ -457,7 +457,7 @@ fashion where new messages are written to the class as needed.</div>
</td>
<td class="description last">User defended colors for
<td class="description last">User defended colors for
severities
<h6>Properties</h6>
@ -512,9 +512,9 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
<td class="description last">A RGB Hex coded color in
the form of #FFFFFF or as or the ANSI color code number (30-37 Standard
& 0-255 Extended)</td>
</tr>
@ -547,9 +547,9 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
<td class="description last">A RGB Hex coded color in the
form of #FFFFFF or as or the ANSI color code number (30-37 Standard &
0-255 Extended)</td>
</tr>
@ -582,9 +582,9 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
<td class="description last">A RGB Hex coded color in
the form of #FFFFFF or as or the ANSI color code number (30-37 Standard
& 0-255 Extended)</td>
</tr>
@ -617,9 +617,9 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
<td class="description last">A RGB Hex coded color in the
form of #FFFFFF or as or the ANSI color code number (30-37 Standard &
0-255 Extended)</td>
</tr>
@ -652,9 +652,9 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
<td class="description last">A RGB Hex coded color in
the form of #FFFFFF or as or the ANSI color code number (30-37 Standard
& 0-255 Extended)</td>
</tr>
@ -687,9 +687,9 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
<td class="description last">A RGB Hex coded color in the
form of #FFFFFF or as or the ANSI color code number (30-37 Standard &
0-255 Extended)</td>
</tr>
@ -722,9 +722,9 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
<td class="description last">A RGB Hex coded color
in the form of #FFFFFF or as or the ANSI color code number (30-37
Standard & 0-255 Extended)</td>
</tr>
@ -757,9 +757,9 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
<td class="description last">A RGB Hex coded color in the
form of #FFFFFF or as or the ANSI color code number (30-37 Standard &
0-255 Extended)</td>
</tr>
@ -805,7 +805,7 @@ fashion where new messages are written to the class as needed.</div>
</td>
<td class="description last">A <a href="module-SyslogPro-Syslog.html"> Syslog server connection</a> that should be used to send messages directly
<td class="description last">A <a href="module-SyslogPro-Syslog.html"> Syslog server connection</a> that should be used to send messages directly
from this class. @see SyslogPro~Syslog</td>
</tr>
@ -876,7 +876,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line544">line 544</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line547">line 547</a>
</li></ul></dd>
@ -935,7 +935,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line522">line 522</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line525">line 525</a>
</li></ul></dd>
@ -1004,7 +1004,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line515">line 515</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line518">line 518</a>
</li></ul></dd>
@ -1063,7 +1063,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line546">line 546</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line549">line 549</a>
</li></ul></dd>
@ -1122,7 +1122,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line556">line 556</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line559">line 559</a>
</li></ul></dd>
@ -1181,7 +1181,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line542">line 542</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line545">line 545</a>
</li></ul></dd>
@ -1240,7 +1240,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line548">line 548</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line551">line 551</a>
</li></ul></dd>
@ -1299,7 +1299,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line528">line 528</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line531">line 531</a>
</li></ul></dd>
@ -1368,7 +1368,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line554">line 554</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line557">line 557</a>
</li></ul></dd>
@ -1427,7 +1427,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line552">line 552</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line555">line 555</a>
</li></ul></dd>
@ -1486,7 +1486,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line535">line 535</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line538">line 538</a>
</li></ul></dd>
@ -1545,7 +1545,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line550">line 550</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line553">line 553</a>
</li></ul></dd>
@ -1614,7 +1614,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line864">line 864</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line869">line 869</a>
</li></ul></dd>
@ -1798,7 +1798,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line751">line 751</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line754">line 754</a>
</li></ul></dd>
@ -2036,7 +2036,7 @@ fashion where new messages are written to the class as needed.</div>
</td>
<td class="description last">The ANSI color code to use if
<td class="description last">The ANSI color code to use if
message coloration is selected</td>
</tr>
@ -2134,7 +2134,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line890">line 890</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line895">line 895</a>
</li></ul></dd>
@ -2318,7 +2318,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line877">line 877</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line882">line 882</a>
</li></ul></dd>
@ -2502,7 +2502,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1002">line 1002</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1010">line 1010</a>
</li></ul></dd>
@ -2686,7 +2686,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line854">line 854</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line859">line 859</a>
</li></ul></dd>
@ -2870,7 +2870,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line841">line 841</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line846">line 846</a>
</li></ul></dd>
@ -3054,7 +3054,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line913">line 913</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line918">line 918</a>
</li></ul></dd>
@ -3238,7 +3238,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line900">line 900</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line905">line 905</a>
</li></ul></dd>
@ -3422,7 +3422,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line982">line 982</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line989">line 989</a>
</li></ul></dd>
@ -3516,7 +3516,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">The informational message to send to the Syslog server</td>
<td class="description last">The informational message to send to the Syslog
server</td>
</tr>
@ -3606,7 +3607,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line969">line 969</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line975">line 975</a>
</li></ul></dd>
@ -3700,7 +3701,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">The informational message to send to the Syslog server</td>
<td class="description last">The informational message to send to the Syslog
server</td>
</tr>
@ -3790,7 +3792,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line992">line 992</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1000">line 1000</a>
</li></ul></dd>
@ -3884,7 +3886,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">The informational message to send to the Syslog server</td>
<td class="description last">The informational message to send to the Syslog
server</td>
</tr>
@ -3974,7 +3977,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line959">line 959</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line964">line 964</a>
</li></ul></dd>
@ -4158,7 +4161,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line946">line 946</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line951">line 951</a>
</li></ul></dd>
@ -4342,7 +4345,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line814">line 814</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line819">line 819</a>
</li></ul></dd>
@ -4389,8 +4392,8 @@ fashion where new messages are written to the class as needed.</div>
<div class="description">
send a RFC5424 formatted message. Returns a promise with the formatted
message that was sent. If no server connection was defined when the
send a RFC5424 formatted message. Returns a promise with the formatted
message that was sent. If no server connection was defined when the
class was created a default Syslog connector will be used.
</div>
@ -4686,7 +4689,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line600">line 600</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line603">line 603</a>
</li></ul></dd>
@ -4792,8 +4795,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
</tr>
@ -4827,8 +4830,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
</tr>
@ -4862,8 +4865,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
</tr>
@ -4897,8 +4900,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
</tr>
@ -4932,8 +4935,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
</tr>
@ -4967,8 +4970,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
</tr>
@ -5002,9 +5005,9 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
<td class="description last">A RGB Hex coded color in the
form of #FFFFFF or as or the ANSI color code number (30-37 Standard &
0-255 Extended)</td>
</tr>
@ -5037,8 +5040,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
</tr>
@ -5107,7 +5110,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line936">line 936</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line941">line 941</a>
</li></ul></dd>
@ -5291,7 +5294,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line923">line 923</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line928">line 928</a>
</li></ul></dd>
@ -5478,7 +5481,7 @@ fashion where new messages are written to the class as needed.</div>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Sep 25 2018 19:37:57 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 15 2018 00:40:26 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>
<script>prettyPrint();</script>

View File

@ -49,16 +49,17 @@
RFC5424
</h2>
<div class="class-description">A class to work with RFC5424 formatted syslog messages. The messaging is fully configurable and ANSI foreground
colors can be added. Both ANSI 8 and ANSI 256 color are fully supported.
Most APIs will return a promise. These APIs can be used using
<div class="class-description">A class to work with RFC5424 formatted syslog messages. The messaging is
fully configurable and ANSI foreground * colors can be added. Both ANSI 8
and ANSI 256 color are fully supported.
Most APIs will return a promise. These APIs can be used using
`then(...)/catch(...)`
A Syslog class with a configured
Syslog server target can also be used as the input into the formatting
Syslog server target can also be used as the input into the formatting
classes so that it may run independently.
The RFC5424 Syslog logging format is meant to be used as a stream of log data
The RFC5424 Syslog logging format is meant to be used as a stream of log data
from a service or application. This class is designed to be used in this
fashion where new messages are written to the class as needed.</div>
@ -87,7 +88,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1027">line 1027</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1036">line 1036</a>
</li></ul></dd>
@ -378,7 +379,7 @@ fashion where new messages are written to the class as needed.</div>
</td>
<td class="description last">RFC standard is for
<td class="description last">RFC standard is for
local time</td>
</tr>
@ -418,7 +419,7 @@ fashion where new messages are written to the class as needed.</div>
</td>
<td class="description last">Timestamp with ms
<td class="description last">Timestamp with ms
resolution</td>
</tr>
@ -498,7 +499,7 @@ fashion where new messages are written to the class as needed.</div>
</td>
<td class="description last">Included
<td class="description last">Included
any provided structured data</td>
</tr>
@ -616,7 +617,7 @@ fashion where new messages are written to the class as needed.</div>
</td>
<td class="description last">Included the UTF8
<td class="description last">Included the UTF8
encoding tag with syslog message text</td>
</tr>
@ -654,7 +655,7 @@ fashion where new messages are written to the class as needed.</div>
</td>
<td class="description last">User defended colors for
<td class="description last">User defended colors for
severities
<h6>Properties</h6>
@ -709,9 +710,9 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
<td class="description last">A RGB Hex coded color in
the form of #FFFFFF or as or the ANSI color code number (30-37 Standard
& 0-255 Extended)</td>
</tr>
@ -744,9 +745,9 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
<td class="description last">A RGB Hex coded color in the
form of #FFFFFF or as or the ANSI color code number (30-37 Standard &
0-255 Extended)</td>
</tr>
@ -779,9 +780,9 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
<td class="description last">A RGB Hex coded color in
the form of #FFFFFF or as or the ANSI color code number (30-37 Standard
& 0-255 Extended)</td>
</tr>
@ -814,9 +815,9 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
<td class="description last">A RGB Hex coded color in the
form of #FFFFFF or as or the ANSI color code number (30-37 Standard &
0-255 Extended)</td>
</tr>
@ -849,9 +850,9 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
<td class="description last">A RGB Hex coded color in
the form of #FFFFFF or as or the ANSI color code number (30-37 Standard
& 0-255 Extended)</td>
</tr>
@ -884,9 +885,9 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
<td class="description last">A RGB Hex coded color in the
form of #FFFFFF or as or the ANSI color code number (30-37 Standard &
0-255 Extended)</td>
</tr>
@ -919,9 +920,9 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
<td class="description last">A RGB Hex coded color
in the form of #FFFFFF or as or the ANSI color code number (30-37
Standard & 0-255 Extended)</td>
</tr>
@ -954,9 +955,9 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
<td class="description last">A RGB Hex coded color in the
form of #FFFFFF or as or the ANSI color code number (30-37 Standard &
0-255 Extended)</td>
</tr>
@ -1002,7 +1003,7 @@ fashion where new messages are written to the class as needed.</div>
</td>
<td class="description last">A <a href="module-SyslogPro-Syslog.html"> Syslog server connection</a> that should be used to send messages directly
<td class="description last">A <a href="module-SyslogPro-Syslog.html"> Syslog server connection</a> that should be used to send messages directly
from this class. @see SyslogPro~Syslog</td>
</tr>
@ -1073,7 +1074,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1144">line 1144</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1153">line 1153</a>
</li></ul></dd>
@ -1132,7 +1133,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1122">line 1122</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1131">line 1131</a>
</li></ul></dd>
@ -1201,7 +1202,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1080">line 1080</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1089">line 1089</a>
</li></ul></dd>
@ -1260,7 +1261,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1146">line 1146</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1155">line 1155</a>
</li></ul></dd>
@ -1319,7 +1320,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1156">line 1156</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1165">line 1165</a>
</li></ul></dd>
@ -1378,7 +1379,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1142">line 1142</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1151">line 1151</a>
</li></ul></dd>
@ -1437,7 +1438,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1110">line 1110</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1119">line 1119</a>
</li></ul></dd>
@ -1506,7 +1507,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1148">line 1148</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1157">line 1157</a>
</li></ul></dd>
@ -1565,7 +1566,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1128">line 1128</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1137">line 1137</a>
</li></ul></dd>
@ -1634,7 +1635,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1154">line 1154</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1163">line 1163</a>
</li></ul></dd>
@ -1693,7 +1694,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1152">line 1152</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1161">line 1161</a>
</li></ul></dd>
@ -1752,7 +1753,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1135">line 1135</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1144">line 1144</a>
</li></ul></dd>
@ -1811,7 +1812,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1086">line 1086</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1095">line 1095</a>
</li></ul></dd>
@ -1880,7 +1881,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1104">line 1104</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1113">line 1113</a>
</li></ul></dd>
@ -1949,7 +1950,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1098">line 1098</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1107">line 1107</a>
</li></ul></dd>
@ -2018,7 +2019,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1092">line 1092</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1101">line 1101</a>
</li></ul></dd>
@ -2087,7 +2088,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1116">line 1116</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1125">line 1125</a>
</li></ul></dd>
@ -2156,7 +2157,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1150">line 1150</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1159">line 1159</a>
</li></ul></dd>
@ -2225,7 +2226,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1541">line 1541</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1550">line 1550</a>
</li></ul></dd>
@ -2409,7 +2410,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1360">line 1360</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1369">line 1369</a>
</li></ul></dd>
@ -2647,7 +2648,7 @@ fashion where new messages are written to the class as needed.</div>
</td>
<td class="description last">Facility code to use sending this
<td class="description last">Facility code to use sending this
message</td>
</tr>
@ -2687,7 +2688,7 @@ fashion where new messages are written to the class as needed.</div>
</td>
<td class="description last">The process id of the service sending
<td class="description last">The process id of the service sending
this message</td>
</tr>
@ -2725,10 +2726,10 @@ fashion where new messages are written to the class as needed.</div>
</td>
<td class="description last">An array of structure
data strings conforming to the IETF/IANA defined SD-IDs or IANA
registered SMI Network Management Private Enterprise Code SD-ID
conforming to the format
<td class="description last">An array of structure
data strings conforming to the IETF/IANA defined SD-IDs or IANA
registered SMI Network Management Private Enterprise Code SD-ID
conforming to the format
[name@<private enterprise number> parameter=value]</td>
</tr>
@ -2768,7 +2769,7 @@ fashion where new messages are written to the class as needed.</div>
</td>
<td class="description last">The ANSI color code to use if
<td class="description last">The ANSI color code to use if
message coloration is selected</td>
</tr>
@ -2866,7 +2867,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1567">line 1567</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1576">line 1576</a>
</li></ul></dd>
@ -3050,7 +3051,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1554">line 1554</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1563">line 1563</a>
</li></ul></dd>
@ -3234,7 +3235,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1679">line 1679</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1691">line 1691</a>
</li></ul></dd>
@ -3418,7 +3419,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1531">line 1531</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1540">line 1540</a>
</li></ul></dd>
@ -3602,7 +3603,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1518">line 1518</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1527">line 1527</a>
</li></ul></dd>
@ -3786,7 +3787,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1590">line 1590</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1599">line 1599</a>
</li></ul></dd>
@ -3970,7 +3971,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1577">line 1577</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1586">line 1586</a>
</li></ul></dd>
@ -4154,7 +4155,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1659">line 1659</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1670">line 1670</a>
</li></ul></dd>
@ -4248,7 +4249,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">The informational message to send to the Syslog server</td>
<td class="description last">The informational message to send to the Syslog
server</td>
</tr>
@ -4338,7 +4340,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1646">line 1646</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1656">line 1656</a>
</li></ul></dd>
@ -4432,7 +4434,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">The informational message to send to the Syslog server</td>
<td class="description last">The informational message to send to the Syslog
server</td>
</tr>
@ -4522,7 +4525,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1669">line 1669</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1681">line 1681</a>
</li></ul></dd>
@ -4616,7 +4619,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">The informational message to send to the Syslog server</td>
<td class="description last">The informational message to send to the Syslog
server</td>
</tr>
@ -4706,7 +4710,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1636">line 1636</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1645">line 1645</a>
</li></ul></dd>
@ -4890,7 +4894,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1623">line 1623</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1632">line 1632</a>
</li></ul></dd>
@ -5074,7 +5078,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1491">line 1491</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1500">line 1500</a>
</li></ul></dd>
@ -5121,8 +5125,8 @@ fashion where new messages are written to the class as needed.</div>
<div class="description">
send a RFC5424 formatted message. Returns a promise with the formatted
message that was sent. If no server connection was defined when the
send a RFC5424 formatted message. Returns a promise with the formatted
message that was sent. If no server connection was defined when the
class was created a default Syslog connector will be used.
</div>
@ -5267,7 +5271,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1200">line 1200</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1209">line 1209</a>
</li></ul></dd>
@ -5373,8 +5377,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
</tr>
@ -5408,8 +5412,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
</tr>
@ -5443,8 +5447,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
</tr>
@ -5478,8 +5482,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
</tr>
@ -5513,8 +5517,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
</tr>
@ -5548,8 +5552,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
</tr>
@ -5583,9 +5587,9 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
<td class="description last">A RGB Hex coded color in the
form of #FFFFFF or as or the ANSI color code number (30-37 Standard &
0-255 Extended)</td>
</tr>
@ -5618,8 +5622,8 @@ fashion where new messages are written to the class as needed.</div>
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
<td class="description last">A RGB Hex coded color in the form
of #FFFFFF or as or the ANSI color code number (30-37 Standard & 0-255
Extended)</td>
</tr>
@ -5688,7 +5692,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1613">line 1613</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1622">line 1622</a>
</li></ul></dd>
@ -5872,7 +5876,7 @@ fashion where new messages are written to the class as needed.</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1600">line 1600</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line1609">line 1609</a>
</li></ul></dd>
@ -6059,7 +6063,7 @@ fashion where new messages are written to the class as needed.</div>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Sep 25 2018 19:37:57 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 15 2018 00:40:26 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>
<script>prettyPrint();</script>

View File

@ -49,11 +49,11 @@
Syslog
</h2>
<div class="class-description">A class to work with syslog messages using UDP, TCP, or TLS transport.
There is support for Syslog message formatting RFC-3164, RFC-5424 including
<div class="class-description">A class to work with syslog messages using UDP, TCP, or TLS transport.
There is support for Syslog message formatting RFC-3164, RFC-5424 including
Structured Data, IBM LEEF (Log Event Extended Format), and HP CEF (Common
Event Format).
Syslog formatting classes can be used as input into a Syslog class to be used
Syslog formatting classes can be used as input into a Syslog class to be used
simultaneously to the same Syslog server. *</div>
@ -81,7 +81,7 @@ simultaneously to the same Syslog server. *</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line107">line 107</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line108">line 108</a>
</li></ul></dd>
@ -256,8 +256,8 @@ simultaneously to the same Syslog server. *</div>
</td>
<td class="description last">The IP Address|FQDN of the
Syslog Server, this option if set will take presidents over any target
<td class="description last">The IP Address|FQDN of the
Syslog Server, this option if set will take presidents over any target
set in a formatting object</td>
</tr>
@ -297,9 +297,9 @@ simultaneously to the same Syslog server. *</div>
</td>
<td class="description last">L4 transport protocol
(udp|tcp|tls), this option if set will take presidents over any transport
set in a formatting object</td>
<td class="description last">L4 transport protocol
(udp|tcp|tls), this option if set will take presidents over any
transport set in a formatting object</td>
</tr>
@ -338,7 +338,7 @@ simultaneously to the same Syslog server. *</div>
</td>
<td class="description last">IP port, this option if set will take
<td class="description last">IP port, this option if set will take
presidents over any IP Port set in a formatting object</td>
</tr>
@ -378,8 +378,8 @@ simultaneously to the same Syslog server. *</div>
</td>
<td class="description last">Ignored for all other
transports, this option if set will take presidents over any timeout
<td class="description last">Ignored for all other
transports, this option if set will take presidents over any timeout
set in a formatting object</td>
</tr>
@ -418,7 +418,7 @@ simultaneously to the same Syslog server. *</div>
<td class="description last">Array of authorized TLS server
certificates file locations, this option if set will take presidents
certificates file locations, this option if set will take presidents
over any certificates set in a formatting object</td>
</tr>
@ -456,8 +456,8 @@ simultaneously to the same Syslog server. *</div>
</td>
<td class="description last">Client TLS certificate file
location that this client should use, this option if set will take
<td class="description last">Client TLS certificate file
location that this client should use, this option if set will take
presidents over any certificates set in a formatting object</td>
</tr>
@ -495,8 +495,8 @@ simultaneously to the same Syslog server. *</div>
</td>
<td class="description last">Client TLS key file
location that this client should use, this option if set will take
<td class="description last">Client TLS key file
location that this client should use, this option if set will take
presidents over any certificates set in a formatting object
>>>Syslog Format Settings</td>
</tr>
@ -537,7 +537,7 @@ simultaneously to the same Syslog server. *</div>
</td>
<td class="description last">Valid syslog format options for
<td class="description last">Valid syslog format options for
this module are 'none', 'rfc3164', 'rfc5424', 'leef', 'cef'</td>
</tr>
@ -649,7 +649,7 @@ simultaneously to the same Syslog server. *</div>
</td>
<td class="description last"><a href="module-SyslogPro-LEEF.html">IBM LEEF (Log Event Extended Format) object</a></td>
<td class="description last"><a href="module-SyslogPro-LEEF.html">IBM LEEF (Log Event Extended Format) object</a></td>
</tr>
@ -686,7 +686,7 @@ simultaneously to the same Syslog server. *</div>
</td>
<td class="description last"><a href="module-SyslogPro-CEF.html">HP CEF (Common Event Format) formatting object</a></td>
<td class="description last"><a href="module-SyslogPro-CEF.html">HP CEF (Common Event Format) formatting object</a></td>
</tr>
@ -756,7 +756,7 @@ simultaneously to the same Syslog server. *</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line213">line 213</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line214">line 214</a>
</li></ul></dd>
@ -825,7 +825,7 @@ simultaneously to the same Syslog server. *</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line182">line 182</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line183">line 183</a>
</li></ul></dd>
@ -894,7 +894,7 @@ simultaneously to the same Syslog server. *</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line205">line 205</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line206">line 206</a>
</li></ul></dd>
@ -963,7 +963,7 @@ simultaneously to the same Syslog server. *</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line160">line 160</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line161">line 161</a>
</li></ul></dd>
@ -1032,7 +1032,7 @@ simultaneously to the same Syslog server. *</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line157">line 157</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line158">line 158</a>
</li></ul></dd>
@ -1101,7 +1101,7 @@ simultaneously to the same Syslog server. *</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line189">line 189</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line190">line 190</a>
</li></ul></dd>
@ -1170,7 +1170,7 @@ simultaneously to the same Syslog server. *</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line197">line 197</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line198">line 198</a>
</li></ul></dd>
@ -1239,7 +1239,7 @@ simultaneously to the same Syslog server. *</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line155">line 155</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line156">line 156</a>
</li></ul></dd>
@ -1308,7 +1308,7 @@ simultaneously to the same Syslog server. *</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line162">line 162</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line163">line 163</a>
</li></ul></dd>
@ -1377,7 +1377,7 @@ simultaneously to the same Syslog server. *</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line173">line 173</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line174">line 174</a>
</li></ul></dd>
@ -1446,7 +1446,7 @@ simultaneously to the same Syslog server. *</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line177">line 177</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line178">line 178</a>
</li></ul></dd>
@ -1515,7 +1515,7 @@ simultaneously to the same Syslog server. *</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line169">line 169</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line170">line 170</a>
</li></ul></dd>
@ -1584,7 +1584,7 @@ simultaneously to the same Syslog server. *</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line247">line 247</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line248">line 248</a>
</li></ul></dd>
@ -1653,7 +1653,7 @@ simultaneously to the same Syslog server. *</div>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line243">line 243</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line244">line 244</a>
</li></ul></dd>
@ -1699,7 +1699,7 @@ simultaneously to the same Syslog server. *</div>
<div class="description">
Add a TLS server certificate which can be used to authenticate the server
Add a TLS server certificate which can be used to authenticate the server
this syslog client is connecting too. This function will validate the
input as a file location string and add it to an array of certificates
</div>
@ -1848,7 +1848,7 @@ input as a file location string and add it to an array of certificates
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line412">line 412</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line415">line 415</a>
</li></ul></dd>
@ -1888,7 +1888,7 @@ input as a file location string and add it to an array of certificates
<div class="description">
Send the Syslog message to the selected target Syslog server using the
Send the Syslog message to the selected target Syslog server using the
selected transport.
</div>
@ -2060,7 +2060,7 @@ selected transport.
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line295">line 295</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line298">line 298</a>
</li></ul></dd>
@ -2271,7 +2271,7 @@ selected transport.
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line341">line 341</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line344">line 344</a>
</li></ul></dd>
@ -2482,7 +2482,7 @@ selected transport.
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line265">line 265</a>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line267">line 267</a>
</li></ul></dd>
@ -2669,7 +2669,7 @@ selected transport.
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Sep 25 2018 19:37:57 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 15 2018 00:40:26 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>
<script>prettyPrint();</script>

View File

@ -55,13 +55,13 @@
<div class="description">The SyslogPro module for sending syslog messages
Most APIs will return a promise. These APIs can be used using
Most APIs will return a promise. These APIs can be used using
`then(...)/catch(...)`
Syslog formatting classes can be used as input into a Syslog class to be used
Syslog formatting classes can be used as input into a Syslog class to be used
simultaneously to the same Syslog server. The Syslog Class with a configured
Syslog server target can also be used as the input into each of the formatting
classes so that they may run independently.</div>
Syslog server target can also be used as the input into each of the
formatting classes so that they may run independently.</div>
@ -395,7 +395,7 @@ classes so that they may run independently.</div>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Sep 25 2018 19:37:57 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 15 2018 00:40:26 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>
<script>prettyPrint();</script>

2877
index.js

File diff suppressed because it is too large Load Diff

654
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "syslog-pro",
"version": "0.1.2",
"version": "0.1.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -62,6 +62,15 @@
}
}
},
"acorn-jsx": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-4.1.1.tgz",
"integrity": "sha512-JY+iV6r+cO21KtntVvFkD+iqjtdpRUpGqKWgfkCdZq1R+kbreEl8EcdcJR4SmiIgsIQT33s6QzheQ9a275Q8xw==",
"dev": true,
"requires": {
"acorn": "^5.0.3"
}
},
"acorn-walk": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.0.1.tgz",
@ -69,17 +78,23 @@
"dev": true
},
"ajv": {
"version": "5.5.2",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz",
"integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=",
"version": "6.5.4",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.4.tgz",
"integrity": "sha512-4Wyjt8+t6YszqaXnLDfMmG/8AlO5Zbcsy3ATHncCzjW/NoPzAId8AK6749Ybjmdt+kUY1gP60fCu46oDxPv/mg==",
"dev": true,
"requires": {
"co": "^4.6.0",
"fast-deep-equal": "^1.0.0",
"fast-deep-equal": "^2.0.1",
"fast-json-stable-stringify": "^2.0.0",
"json-schema-traverse": "^0.3.0"
"json-schema-traverse": "^0.4.1",
"uri-js": "^4.2.2"
}
},
"ajv-keywords": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.2.0.tgz",
"integrity": "sha1-6GuBnGAs+IIa1jdBNpjx3sAhhHo=",
"dev": true
},
"ansi-escape-sequences": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/ansi-escape-sequences/-/ansi-escape-sequences-4.0.0.tgz",
@ -460,6 +475,21 @@
"integrity": "sha1-jCpe8kcv2ep0KwTHenUJO6J1fJM=",
"dev": true
},
"array-union": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz",
"integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=",
"dev": true,
"requires": {
"array-uniq": "^1.0.1"
}
},
"array-uniq": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz",
"integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=",
"dev": true
},
"array-unique": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz",
@ -946,6 +976,23 @@
"mkdirp2": "^1.0.3"
}
},
"caller-path": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz",
"integrity": "sha1-lAhe9jWB7NPaqSREqP6U6CV3dR8=",
"dev": true,
"requires": {
"callsites": "^0.2.0"
},
"dependencies": {
"callsites": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz",
"integrity": "sha1-r6uWJikQp/M8GaV3WCXGnzTjUMo=",
"dev": true
}
}
},
"callsites": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz",
@ -993,12 +1040,24 @@
"supports-color": "^5.3.0"
}
},
"chardet": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz",
"integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==",
"dev": true
},
"ci-info": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz",
"integrity": "sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A==",
"dev": true
},
"circular-json": {
"version": "0.3.3",
"resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz",
"integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==",
"dev": true
},
"class-utils": {
"version": "0.3.6",
"resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",
@ -1028,6 +1087,21 @@
}
}
},
"cli-cursor": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz",
"integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=",
"dev": true,
"requires": {
"restore-cursor": "^2.0.0"
}
},
"cli-width": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz",
"integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=",
"dev": true
},
"cliui": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz",
@ -1386,6 +1460,21 @@
}
}
},
"del": {
"version": "2.2.2",
"resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz",
"integrity": "sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag=",
"dev": true,
"requires": {
"globby": "^5.0.0",
"is-path-cwd": "^1.0.0",
"is-path-in-cwd": "^1.0.0",
"object-assign": "^4.0.1",
"pify": "^2.0.0",
"pinkie-promise": "^2.0.0",
"rimraf": "^2.2.8"
}
},
"delayed-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
@ -1460,6 +1549,15 @@
"integrity": "sha512-HhK72PT4z55og8FDqskO/tTYXxU+LovRz+9pCDHLnUoPchkxjdIJidS+96LqW3CLrRdBmnkDRrcVrDFGLIluTw==",
"dev": true
},
"doctrine": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
"integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
"dev": true,
"requires": {
"esutils": "^2.0.2"
}
},
"domexception": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/domexception/-/domexception-1.0.1.tgz",
@ -1547,12 +1645,174 @@
}
}
},
"eslint": {
"version": "5.6.1",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-5.6.1.tgz",
"integrity": "sha512-hgrDtGWz368b7Wqf+v1Z69O3ZebNR0+GA7PtDdbmuz4rInFVUV9uw7whjZEiWyLzCjVb5Rs5WRN1TAS6eo7AYA==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
"ajv": "^6.5.3",
"chalk": "^2.1.0",
"cross-spawn": "^6.0.5",
"debug": "^4.0.1",
"doctrine": "^2.1.0",
"eslint-scope": "^4.0.0",
"eslint-utils": "^1.3.1",
"eslint-visitor-keys": "^1.0.0",
"espree": "^4.0.0",
"esquery": "^1.0.1",
"esutils": "^2.0.2",
"file-entry-cache": "^2.0.0",
"functional-red-black-tree": "^1.0.1",
"glob": "^7.1.2",
"globals": "^11.7.0",
"ignore": "^4.0.6",
"imurmurhash": "^0.1.4",
"inquirer": "^6.1.0",
"is-resolvable": "^1.1.0",
"js-yaml": "^3.12.0",
"json-stable-stringify-without-jsonify": "^1.0.1",
"levn": "^0.3.0",
"lodash": "^4.17.5",
"minimatch": "^3.0.4",
"mkdirp": "^0.5.1",
"natural-compare": "^1.4.0",
"optionator": "^0.8.2",
"path-is-inside": "^1.0.2",
"pluralize": "^7.0.0",
"progress": "^2.0.0",
"regexpp": "^2.0.0",
"require-uncached": "^1.0.3",
"semver": "^5.5.1",
"strip-ansi": "^4.0.0",
"strip-json-comments": "^2.0.1",
"table": "^4.0.3",
"text-table": "^0.2.0"
},
"dependencies": {
"ajv": {
"version": "6.5.4",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.4.tgz",
"integrity": "sha512-4Wyjt8+t6YszqaXnLDfMmG/8AlO5Zbcsy3ATHncCzjW/NoPzAId8AK6749Ybjmdt+kUY1gP60fCu46oDxPv/mg==",
"dev": true,
"requires": {
"fast-deep-equal": "^2.0.1",
"fast-json-stable-stringify": "^2.0.0",
"json-schema-traverse": "^0.4.1",
"uri-js": "^4.2.2"
}
},
"cross-spawn": {
"version": "6.0.5",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
"integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
"dev": true,
"requires": {
"nice-try": "^1.0.4",
"path-key": "^2.0.1",
"semver": "^5.5.0",
"shebang-command": "^1.2.0",
"which": "^1.2.9"
}
},
"debug": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.0.tgz",
"integrity": "sha512-heNPJUJIqC+xB6ayLAMHaIrmN9HKa7aQO8MGqKpvCA+uJYVcvR6l5kgdrhRuwPFHU7P5/A1w0BjByPHwpfTDKg==",
"dev": true,
"requires": {
"ms": "^2.1.1"
}
},
"fast-deep-equal": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
"integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=",
"dev": true
},
"globals": {
"version": "11.8.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-11.8.0.tgz",
"integrity": "sha512-io6LkyPVuzCHBSQV9fmOwxZkUk6nIaGmxheLDgmuFv89j0fm2aqDbIXKAGfzCMHqz3HLF2Zf8WSG6VqMh2qFmA==",
"dev": true
},
"json-schema-traverse": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
"dev": true
},
"ms": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
"integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",
"dev": true
}
}
},
"eslint-config-strongloop": {
"version": "2.1.0",
"resolved": "http://registry.npmjs.org/eslint-config-strongloop/-/eslint-config-strongloop-2.1.0.tgz",
"integrity": "sha1-dj3Rmt/OiNewBR5uJV8a43eDtMY=",
"dev": true
},
"eslint-scope": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.0.tgz",
"integrity": "sha512-1G6UTDi7Jc1ELFwnR58HV4fK9OQK4S6N985f166xqXxpjU6plxFISJa2Ba9KCQuFa8RCnj/lSFJbHo7UFDBnUA==",
"dev": true,
"requires": {
"esrecurse": "^4.1.0",
"estraverse": "^4.1.1"
}
},
"eslint-utils": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.3.1.tgz",
"integrity": "sha512-Z7YjnIldX+2XMcjr7ZkgEsOj/bREONV60qYeB/bjMAqqqZ4zxKyWX+BOUkdmRmA9riiIPVvo5x86m5elviOk0Q==",
"dev": true
},
"eslint-visitor-keys": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz",
"integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==",
"dev": true
},
"espree": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/espree/-/espree-4.0.0.tgz",
"integrity": "sha512-kapdTCt1bjmspxStVKX6huolXVV5ZfyZguY1lcfhVVZstce3bqxH9mcLzNn3/mlgW6wQ732+0fuG9v7h0ZQoKg==",
"dev": true,
"requires": {
"acorn": "^5.6.0",
"acorn-jsx": "^4.1.1"
}
},
"esprima": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
"integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
"dev": true
},
"esquery": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz",
"integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==",
"dev": true,
"requires": {
"estraverse": "^4.0.0"
}
},
"esrecurse": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz",
"integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==",
"dev": true,
"requires": {
"estraverse": "^4.1.0"
}
},
"estraverse": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz",
@ -1654,6 +1914,28 @@
}
}
},
"external-editor": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.0.3.tgz",
"integrity": "sha512-bn71H9+qWoOQKyZDo25mOMVpSmXROAsTJVVVYzrrtol3d4y+AsKjf4Iwl2Q+IuT0kFSQ1qo166UuIwqYq7mGnA==",
"dev": true,
"requires": {
"chardet": "^0.7.0",
"iconv-lite": "^0.4.24",
"tmp": "^0.0.33"
},
"dependencies": {
"iconv-lite": {
"version": "0.4.24",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
"integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
"dev": true,
"requires": {
"safer-buffer": ">= 2.1.2 < 3"
}
}
}
},
"extglob": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz",
@ -1670,9 +1952,9 @@
"dev": true
},
"fast-deep-equal": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz",
"integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=",
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
"integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=",
"dev": true
},
"fast-json-stable-stringify": {
@ -1696,6 +1978,25 @@
"bser": "^2.0.0"
}
},
"figures": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz",
"integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=",
"dev": true,
"requires": {
"escape-string-regexp": "^1.0.5"
}
},
"file-entry-cache": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz",
"integrity": "sha1-w5KZDD5oR4PYOLjISkXYoEhFg2E=",
"dev": true,
"requires": {
"flat-cache": "^1.2.1",
"object-assign": "^4.0.1"
}
},
"file-set": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/file-set/-/file-set-2.0.1.tgz",
@ -1754,6 +2055,18 @@
"locate-path": "^2.0.0"
}
},
"flat-cache": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.0.tgz",
"integrity": "sha1-0wMLMrOBVPTjt+nHCfSQ9++XxIE=",
"dev": true,
"requires": {
"circular-json": "^0.3.1",
"del": "^2.0.2",
"graceful-fs": "^4.1.2",
"write": "^0.2.1"
}
},
"for-in": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
@ -1890,8 +2203,7 @@
"code-point-at": {
"version": "1.1.0",
"bundled": true,
"dev": true,
"optional": true
"dev": true
},
"concat-map": {
"version": "0.0.1",
@ -1901,8 +2213,7 @@
"console-control-strings": {
"version": "1.1.0",
"bundled": true,
"dev": true,
"optional": true
"dev": true
},
"core-util-is": {
"version": "1.0.2",
@ -2019,8 +2330,7 @@
"inherits": {
"version": "2.0.3",
"bundled": true,
"dev": true,
"optional": true
"dev": true
},
"ini": {
"version": "1.3.5",
@ -2032,7 +2342,6 @@
"version": "1.0.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"number-is-nan": "^1.0.0"
}
@ -2158,8 +2467,7 @@
"number-is-nan": {
"version": "1.0.1",
"bundled": true,
"dev": true,
"optional": true
"dev": true
},
"object-assign": {
"version": "4.1.1",
@ -2171,7 +2479,6 @@
"version": "1.4.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"wrappy": "1"
}
@ -2293,7 +2600,6 @@
"version": "1.0.2",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0",
@ -2371,6 +2677,12 @@
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
"dev": true
},
"functional-red-black-tree": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",
"integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=",
"dev": true
},
"get-caller-file": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz",
@ -2437,6 +2749,20 @@
"integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==",
"dev": true
},
"globby": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz",
"integrity": "sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0=",
"dev": true,
"requires": {
"array-union": "^1.0.1",
"arrify": "^1.0.0",
"glob": "^7.0.3",
"object-assign": "^4.0.1",
"pify": "^2.0.0",
"pinkie-promise": "^2.0.0"
}
},
"graceful-fs": {
"version": "4.1.11",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",
@ -2489,6 +2815,32 @@
"requires": {
"ajv": "^5.3.0",
"har-schema": "^2.0.0"
},
"dependencies": {
"ajv": {
"version": "5.5.2",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz",
"integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=",
"dev": true,
"requires": {
"co": "^4.6.0",
"fast-deep-equal": "^1.0.0",
"fast-json-stable-stringify": "^2.0.0",
"json-schema-traverse": "^0.3.0"
}
},
"fast-deep-equal": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz",
"integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=",
"dev": true
},
"json-schema-traverse": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz",
"integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=",
"dev": true
}
}
},
"has": {
@ -2632,6 +2984,12 @@
"safer-buffer": ">= 2.1.2 < 3"
}
},
"ignore": {
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
"integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
"dev": true
},
"import-local": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/import-local/-/import-local-1.0.0.tgz",
@ -2664,6 +3022,27 @@
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
"dev": true
},
"inquirer": {
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.2.0.tgz",
"integrity": "sha512-QIEQG4YyQ2UYZGDC4srMZ7BjHOmNk1lR2JQj5UknBapklm6WHA+VVH7N+sUdX3A7NeCfGF8o4X1S3Ao7nAcIeg==",
"dev": true,
"requires": {
"ansi-escapes": "^3.0.0",
"chalk": "^2.0.0",
"cli-cursor": "^2.1.0",
"cli-width": "^2.0.0",
"external-editor": "^3.0.0",
"figures": "^2.0.0",
"lodash": "^4.17.10",
"mute-stream": "0.0.7",
"run-async": "^2.2.0",
"rxjs": "^6.1.0",
"string-width": "^2.1.0",
"strip-ansi": "^4.0.0",
"through": "^2.3.6"
}
},
"invariant": {
"version": "2.2.4",
"resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
@ -2824,6 +3203,30 @@
"kind-of": "^3.0.2"
}
},
"is-path-cwd": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz",
"integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=",
"dev": true
},
"is-path-in-cwd": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz",
"integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==",
"dev": true,
"requires": {
"is-path-inside": "^1.0.0"
}
},
"is-path-inside": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz",
"integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=",
"dev": true,
"requires": {
"path-is-inside": "^1.0.1"
}
},
"is-plain-object": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
@ -2853,6 +3256,12 @@
"integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=",
"dev": true
},
"is-promise": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz",
"integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=",
"dev": true
},
"is-regex": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz",
@ -2862,6 +3271,12 @@
"has": "^1.0.1"
}
},
"is-resolvable": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz",
"integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==",
"dev": true
},
"is-stream": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
@ -3607,9 +4022,15 @@
"dev": true
},
"json-schema-traverse": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz",
"integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=",
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
"dev": true
},
"json-stable-stringify-without-jsonify": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
"integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=",
"dev": true
},
"json-stringify-safe": {
@ -3954,6 +4375,12 @@
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
"dev": true
},
"mute-stream": {
"version": "0.0.7",
"resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz",
"integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=",
"dev": true
},
"nan": {
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.11.0.tgz",
@ -4006,6 +4433,12 @@
"integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
"dev": true
},
"nice-try": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
"integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",
"dev": true
},
"node-int64": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",
@ -4181,6 +4614,15 @@
"wrappy": "1"
}
},
"onetime": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz",
"integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=",
"dev": true,
"requires": {
"mimic-fn": "^1.0.0"
}
},
"optimist": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
@ -4311,6 +4753,12 @@
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
"dev": true
},
"path-is-inside": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz",
"integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=",
"dev": true
},
"path-key": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
@ -4370,6 +4818,12 @@
"find-up": "^2.1.0"
}
},
"pluralize": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/pluralize/-/pluralize-7.0.0.tgz",
"integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==",
"dev": true
},
"pn": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/pn/-/pn-1.1.0.tgz",
@ -4424,6 +4878,12 @@
"integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==",
"dev": true
},
"progress": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.0.tgz",
"integrity": "sha1-ihvjZr+Pwj2yvSPxDG/pILQ4nR8=",
"dev": true
},
"prompts": {
"version": "0.1.14",
"resolved": "https://registry.npmjs.org/prompts/-/prompts-0.1.14.tgz",
@ -4646,6 +5106,12 @@
"safe-regex": "^1.1.0"
}
},
"regexpp": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz",
"integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==",
"dev": true
},
"remove-trailing-separator": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",
@ -4733,6 +5199,24 @@
"integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=",
"dev": true
},
"require-uncached": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz",
"integrity": "sha1-Tg1W1slmL9MeQwEcS5WqSZVUIdM=",
"dev": true,
"requires": {
"caller-path": "^0.1.0",
"resolve-from": "^1.0.0"
},
"dependencies": {
"resolve-from": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz",
"integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=",
"dev": true
}
}
},
"requizzle": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/requizzle/-/requizzle-0.2.1.tgz",
@ -4777,6 +5261,16 @@
"integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=",
"dev": true
},
"restore-cursor": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz",
"integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=",
"dev": true,
"requires": {
"onetime": "^2.0.0",
"signal-exit": "^3.0.2"
}
},
"ret": {
"version": "0.1.15",
"resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
@ -4798,6 +5292,24 @@
"integrity": "sha512-OfWGQTb9vnwRjwtA2QwpG2ICclHC3pgXZO5xt8H2EfgDquO0qVdSb5T88L4qJVAEugbS56pAuV4XZM58UX8ulw==",
"dev": true
},
"run-async": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz",
"integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=",
"dev": true,
"requires": {
"is-promise": "^2.1.0"
}
},
"rxjs": {
"version": "6.3.3",
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz",
"integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==",
"dev": true,
"requires": {
"tslib": "^1.9.0"
}
},
"safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
@ -5198,6 +5710,15 @@
"integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=",
"dev": true
},
"slice-ansi": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz",
"integrity": "sha512-POqxBK6Lb3q6s047D/XsDVNPnF9Dl8JSaqe9h9lURl0OdNqy/ujDrOiIHtsqXMGbWWTIomRzAMaTyawAU//Reg==",
"dev": true,
"requires": {
"is-fullwidth-code-point": "^2.0.0"
}
},
"snapdragon": {
"version": "0.8.2",
"resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz",
@ -5567,6 +6088,46 @@
"integrity": "sha1-rifbOPZgp64uHDt9G8KQgZuFGeY=",
"dev": true
},
"table": {
"version": "4.0.3",
"resolved": "http://registry.npmjs.org/table/-/table-4.0.3.tgz",
"integrity": "sha512-S7rnFITmBH1EnyKcvxBh1LjYeQMmnZtCXSEbHcH6S0NoKit24ZuFO/T1vDcLdYsLQkM188PVVhQmzKIuThNkKg==",
"dev": true,
"requires": {
"ajv": "^6.0.1",
"ajv-keywords": "^3.0.0",
"chalk": "^2.1.0",
"lodash": "^4.17.4",
"slice-ansi": "1.0.0",
"string-width": "^2.1.1"
},
"dependencies": {
"ajv": {
"version": "6.5.4",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.4.tgz",
"integrity": "sha512-4Wyjt8+t6YszqaXnLDfMmG/8AlO5Zbcsy3ATHncCzjW/NoPzAId8AK6749Ybjmdt+kUY1gP60fCu46oDxPv/mg==",
"dev": true,
"requires": {
"fast-deep-equal": "^2.0.1",
"fast-json-stable-stringify": "^2.0.0",
"json-schema-traverse": "^0.4.1",
"uri-js": "^4.2.2"
}
},
"fast-deep-equal": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
"integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=",
"dev": true
},
"json-schema-traverse": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
"dev": true
}
}
},
"table-layout": {
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/table-layout/-/table-layout-0.4.4.tgz",
@ -5615,12 +6176,33 @@
"typical": "^2.6.1"
}
},
"text-table": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
"integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=",
"dev": true
},
"throat": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/throat/-/throat-4.1.0.tgz",
"integrity": "sha1-iQN8vJLFarGJJua6TLsgDhVnKmo=",
"dev": true
},
"through": {
"version": "2.3.8",
"resolved": "http://registry.npmjs.org/through/-/through-2.3.8.tgz",
"integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=",
"dev": true
},
"tmp": {
"version": "0.0.33",
"resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
"integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==",
"dev": true,
"requires": {
"os-tmpdir": "~1.0.2"
}
},
"tmpl": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.4.tgz",
@ -5708,6 +6290,12 @@
"integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=",
"dev": true
},
"tslib": {
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz",
"integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==",
"dev": true
},
"tunnel-agent": {
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
@ -5876,6 +6464,15 @@
}
}
},
"uri-js": {
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
"integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==",
"dev": true,
"requires": {
"punycode": "^2.1.0"
}
},
"urix": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz",
@ -6083,6 +6680,15 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
"dev": true
},
"write": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/write/-/write-0.2.1.tgz",
"integrity": "sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c=",
"dev": true,
"requires": {
"mkdirp": "^0.5.1"
}
},
"write-file-atomic": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.3.0.tgz",

View File

@ -1,6 +1,6 @@
{
"name": "syslog-pro",
"version": "0.1.2",
"version": "0.1.1",
"description": "A Syslog client which options for UDP, TCP, and TLS transport and suport for both RFC-3164 and RFC-5424 including Structured Data.",
"keywords": [
"Syslog",
@ -57,14 +57,18 @@
"moment": "^2.22.2"
},
"devDependencies": {
"ajv": "^6.5.4",
"coveralls": "^3.0.2",
"docco": "^0.8.0",
"docdash": "^1.0.0",
"eslint": "^5.6.1",
"eslint-config-strongloop": "^2.1.0",
"jest": "^23.5.0",
"jsdoc": "^3.5.5",
"jsdoc-to-markdown": "^4.0.1"
},
"scripts": {
"pretest": "eslint .",
"test": "jest --colors --expand --logHeapUsage --runInBand && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"docs": "jsdoc *.js -c ./jsdoc.json; jsdoc2md --template ./jsdoc2md/api.hbs --files *.js > ./docs/api.md; docco --output ./docs/docco --layout plain-markdown *.js && mv ./docs/docco/index.html ./docs/docco/README.md; docco --output ./docs/docco *.js",
"jsdoc": "jsdoc *.js -c ./jsdoc.json",

View File

@ -0,0 +1,14 @@
-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAltzRZxhTAUix+gkehXJ7
sAQ4eIYnN6uwkCgq2z4Kt9gH0Kh+ViN6YUP4/UvRCTWXlClz9U8TtEECvcKTkP3d
OLKt4rYueARxg2xu5yRHpJyRfFNb+Rp+cf3B8UzjUPFMA6o1bMP1aXgl1ztTEWlb
/EryeAQXkObniV3n22dLUXj63Rbyd2h1Rn5VqCBXn3Azl1Dgl143wRKRBSdhHx0F
jhZwcK9XA53LYfA/Du8PlXMMOkuZ0lCKy7sS0YTih8YVgg0bVQL4UBvQkCcwW6sc
xiMIm8eoDcBGo5qqIegKhMNN65JacVjGYIbzX25qH7o0v6dTF/kMBNjZ+qXZBXbV
LRny10dXu7QNwh6Q3AQPdhvbI4d5xLqcClkReDe15xz5RofeMs+VH6kJDS1U7G3U
Vp1dra9TD0aYJBOudtzJvQJHc7+me18rvAeWXWENchTceaV28IR1nsqWecTEIluT
2b7+65TgNljG3YPH2/CgUxrshMZe6he7+NtLC56fh+FKm+bQtTmerBqZiJHHBkUR
fOJlDFWUIybIiDZ8Vx+0v0DdsDSywjxuS/NUiG2+59O62gwkoFzpXmvXlB5guoHp
YzOYX/aoqdHm+vHBUp3PMf+Krk7K4wgnj9a2/5ue73suUAhWdWLmJtD4rzlPw3Ag
3/OYBIJ4gcsOP0ZCW6/9mOECAwEAAQ==
-----END PUBLIC KEY-----

View File

@ -0,0 +1,14 @@
-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAt2Z0LkXhPpMu9lkDUxRg
QXEqCU0StVFxRrjVq5vvr4R21wSwyZHcDGRA1t9YjyQdlGW1kRoy1PzQsCSi2EGF
n08keUXK43kkHmSnF/3DtEb+3T2sUYkkKyb+PKEFM5nXkVgiYZoypSClDV7k9ofQ
UypnSZcxThsyx1sBHBNsfHLqkfVH8wpHMkmWvKRxEcI/3w6odh4S0QUqx2T7VI8f
Fv0Ek7gi4qAA8o3aNt5mmw21HcfZidI8sEicpGBlTVxmE1H/tNbxVreTdr88qC7m
qyGsPRckmOrVp1XwpjhbHBvjSEpw/JvrFjrNoUIIm0p7PRyoGHKAewboS9LYn5SR
Kd2d42wkOpCjTkNGrsvwvJFf+RaK/D7at5CbCRYjjFf9GXPeDLxYkp3LAbCAygQ6
kZXAy6U/H7atuXw7OQMfBAstS/pIzjvUlECZTc6zfgCV+Nvgwyin9PVIO2JP1rX+
b9C1gGa2ax0EgI2BH3F+nZ/CDFLtO9wC6cvcLgskZw9SR92aUlUboIqizWrmihFP
LDZel9bTxtLs3ifsYOY4nJeJFTE+TtkWDioikVHm6dyhnhXX4tehpjLOjdqkkxqF
Zf+vDlw+vOraEsiQVbSdk+27UFUChziCIUfzD4SaBaDFr9aDcdOc/CvfKkHOu03x
90HgtSFphfqIBlOQMFpFeA8CAwEAAQ==
-----END PUBLIC KEY-----