Added logging function and added some validation as well
Added logging function and added some validation as well

tinnightcap/nubis-base,gozer/nubis-base,limed/nubis-base,tinnightcap/nubis-base,tinnightcap/nubis-base,Nubisproject/nubis-base,gozer/nubis-base,limed/nubis-base,limed/nubis-base,Nubisproject/nubis-base,gozer/nubis-base