Sha256: 6985703901aab77e7d5bdfc5cc2a963681dee627944cde8114c4784656f2931f
Contents?: true
Size: 478 Bytes
Versions: 30
Compression:
Stored size: 478 Bytes
Contents
import adapters from "./adapters" // The logger is disabled by default. You can enable it with: // // ActionCable.logger.enabled = true // // Example: // // import * as ActionCable from '@rails/actioncable' // // ActionCable.logger.enabled = true // ActionCable.logger.log('Connection Established.') // export default { log(...messages) { if (this.enabled) { messages.push(Date.now()) adapters.logger.log("[ActionCable]", ...messages) } }, }
Version data entries
30 entries across 29 versions & 3 rubygems