logger-front
v1.0.2
Published
package front end of metrics collector
Downloads
2
Readme
Logger-Front
Developpement
npm install
build
npm run build
publication
npm login
username : XXX
password : XXXX
email : XXXX
npm publish
Installation
npm login
username : XXX
password : XXXX
email : XXXX
npm install logger-front
Usage
import {logger} from 'logger-front';
var option = {
port: 5655,
address: localhost,
data: {
UserID : "1564",
SiteName : "Natural Solutions",
}
};
logger.setOptions(option);
logger.sendServerCall(JSON.stringify(option_http), null);
logger.sendVisit("home", "application_name", 1)
logger.sendVisit("other_page", "application_name", 0)
logger.sendClick(x_click,y_click,customDomPath(evt.srcElement).join('>'));