Logs messages about the state of this modular input to Splunk. These messages will show up in Splunk's internal logs.
Logs messages about the state of this modular input to Splunk. These messages will show up in Splunk's internal logs.
Name | Type | Description |
---|---|---|
name | String | The name of this modular input. |
message | String | The message to log. |
stream | Object | (Optional) A stream to write log messages to, defaults to process.stderr. |
root.debug = function (name, message, stream) {
try {
root._log(root.DEBUG, name, message, stream);
}
catch (e) {
throw e;
}
};
Logs messages about the state of this modular input to Splunk. These messages will show up in Splunk's internal logs.
Name | Type | Description |
---|---|---|
name | String | The name of this modular input. |
message | String | The message to log. |
stream | Object | (Optional) A stream to write log messages to, defaults to process.stderr. |
root.error = function (name, message, stream) {
try {
root._log(root.ERROR, name, message, stream);
}
catch (e) {
throw e;
}
};
Logs messages about the state of this modular input to Splunk. These messages will show up in Splunk's internal logs.
Name | Type | Description |
---|---|---|
name | String | The name of this modular input. |
message | String | The message to log. |
stream | Object | (Optional) A stream to write log messages to, defaults to process.stderr. |
root.fatal = function (name, message, stream) {
try {
root._log(root.FATAL, name, message, stream);
}
catch (e) {
throw e;
}
};
module.exports = root;
}());
Logs messages about the state of this modular input to Splunk. These messages will show up in Splunk's internal logs.
Name | Type | Description |
---|---|---|
name | String | The name of this modular input. |
message | String | The message to log. |
stream | Object | (Optional) A stream to write log messages to, defaults to process.stderr. |
root.info = function (name, message, stream) {
try {
root._log(root.INFO, name, message, stream);
}
catch (e) {
throw e;
}
};
Logs messages about the state of this modular input to Splunk. These messages will show up in Splunk's internal logs.
Name | Type | Description |
---|---|---|
name | String | The name of this modular input. |
message | String | The message to log. |
stream | Object | (Optional) A stream to write log messages to, defaults to process.stderr. |
root.warn = function (name, message, stream) {
try {
root._log(root.WARN, name, message, stream);
}
catch (e) {
throw e;
}
};