UNPKG

n8n-nodes-customssh

Version:

n8n community node for advanced SSH connections with configurable ciphers and network device support

27 lines (26 loc) 658 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LoggingUtils = void 0; // utils/LoggingUtils.ts /** * Utility class for logging SSH operations */ class LoggingUtils { /** * Log a message if verbose logging is enabled */ static log(message, verboseLogging) { if (verboseLogging) { console.log(`[SSH Node] ${message}`); } } /** * Log an error if verbose logging is enabled */ static error(message, verboseLogging) { if (verboseLogging) { console.error(`[SSH Node] ${message}`); } } } exports.LoggingUtils = LoggingUtils;