How to use the @awesomeeng/awesome-log.access function in @awesomeeng/awesome-log

To help you get started, we’ve selected a few @awesomeeng/awesome-log examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github awesomeeng / zephjs / TestServer.js View on Github external
this.server.route("*","*",(path,request)=>{
			Log.access("Request "+request.path+" from "+request.origin+".");
		});
		this.server.serve("/*",process.cwd());
github awesomeeng / awesome-server / examples / MultipleRoutes / Server.js View on Github external
server.route("*","*",(path,request)=>{
	Log.access("Request from "+request.origin+" for "+request.url.href);
});
github awesomeeng / awesome-server / examples / HTTP2FileServer / Server.js View on Github external
server.route("*","*",(path,request)=>{
	Log.access("Request from "+request.origin+" for "+request.url.href);
});
server.start();
github awesomeeng / awesome-server / examples / ControllerClasses / Server.js View on Github external
server.route("*","*",(path,request)=>{
	Log.access("Request from "+request.origin+" for "+request.url.href);
});
server.route("*","/one","./ControllerOne");
github awesomeeng / awesome-server / examples / FileServer / Server.js View on Github external
server.route("*","*",(path,request)=>{
	Log.access("Request from "+request.origin+" for "+request.url.href);
});
server.start();
github awesomeeng / zephjs / src / cli / commands / Serve.js View on Github external
server.route("*","*",(path,request)=>{
			Log.access("Request "+request.method+" "+request.path+" from "+request.origin+".");
		});
github awesomeeng / awesome-server / examples / HTTP2Server / Server.js View on Github external
server.route("*","*",(path,request)=>{
	Log.access("Request from "+request.origin+" for "+request.url.href);
});
server.route("*","/hello",(path,request,response)=>{
github awesomeeng / awesome-server / examples / HTTPSServer / Server.js View on Github external
server.route("*","*",(path,request)=>{
	Log.access("Request from "+request.origin+" for "+request.url.href);
});
server.route("*","/hello",async (path,request,response)=>{
github awesomeeng / awesome-server / examples / BasicController / Server.js View on Github external
server.route("*","*",(path,request)=>{
	Log.access("Request from "+request.origin+" for "+request.url.href);
});
server.route("/hello",new MyController());
github awesomeeng / awesome-server / examples / ControllerDirectory / Server.js View on Github external
server.route("*","*",(path,request)=>{
	Log.access("Request from "+request.origin+" for "+request.url.href);
});
server.route("*","/api","./controllers");

@awesomeeng/awesome-log

AwesomeLog is a Log System for enterprise nodejs applications. It provides a basic out of the box logging solution that is ready to go with zero configuration but also gives you a highly configurable logging solution that with the power to do your logging

MIT
Latest version published 2 years ago

Package Health Score

45 / 100
Full package analysis