Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / services / routing / server / applications / noop.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xc86f=['error','[%s][NOOP]\x20%s','stop','../../../../config/logger','routing','consequence','info','getMustacheRender'];(function(_0x2d76cb,_0x40bf84){var _0x2c2a32=function(_0x4429f4){while(--_0x4429f4){_0x2d76cb['push'](_0x2d76cb['shift']());}};_0x2c2a32(++_0x40bf84);}(_0xc86f,0xb3));var _0xfc86=function(_0x2c3f35,_0x57221b){_0x2c3f35=_0x2c3f35-0x0;var _0xf9105e=_0xc86f[_0x2c3f35];return _0xf9105e;};'use strict';var utils=require('./utils');var logger=require(_0xfc86('0x0'))(_0xfc86('0x1'));exports[_0xfc86('0x2')]=function(_0x1cb8af,_0x142c2e){return function(_0x5c599b){try{logger[_0xfc86('0x3')]('[%s][NOOP]\x20%s',_0x1cb8af,utils[_0xfc86('0x4')](_0x142c2e[0x0],this));_0x5c599b['next']();}catch(_0x3c00e2){logger[_0xfc86('0x5')](_0xfc86('0x6'),_0x1cb8af,JSON['stringify'](_0x3c00e2));_0x5c599b[_0xfc86('0x7')]();}};};