MCPcopy
hub / github.com/socketio/socket.io / log

Function log

examples/cluster-httpd/server/public/main.js:72–75  ·  view source on GitHub ↗
(message, options)

Source from the content-addressed store, hash-verified

70
71 // Log a message
72 function log (message, options) {
73 var $el = $('<li>').addClass('log').text(message);
74 addMessageElement($el, options);
75 }
76
77 // Adds the visual chat message to the message list
78 function addChatMessage (data, options) {

Callers 2

addParticipantsMessageFunction · 0.70
main.jsFile · 0.70

Calls 2

addMessageElementFunction · 0.70
$Function · 0.50

Tested by

no test coverage detected