add log4js document and examples