1aa52ff33ed24da4ec27bac8afe46e91b33eeea4
[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 _0x6dff=['consequence','info','next','error','[%s][NOOP]\x20%s','stringify','stop','./utils','../../../../config/logger','routing'];(function(_0x5003ea,_0x3c5db2){var _0x2014f9=function(_0xd05f5f){while(--_0xd05f5f){_0x5003ea['push'](_0x5003ea['shift']());}};_0x2014f9(++_0x3c5db2);}(_0x6dff,0x75));var _0xf6df=function(_0xcc067c,_0x1828cc){_0xcc067c=_0xcc067c-0x0;var _0x2dac13=_0x6dff[_0xcc067c];return _0x2dac13;};'use strict';var utils=require(_0xf6df('0x0'));var logger=require(_0xf6df('0x1'))(_0xf6df('0x2'));exports[_0xf6df('0x3')]=function(_0x2b67cd,_0x4ae4a6){return function(_0x196e9f){try{logger[_0xf6df('0x4')]('[%s][NOOP]\x20%s',_0x2b67cd,utils['getMustacheRender'](_0x4ae4a6[0x0],this));_0x196e9f[_0xf6df('0x5')]();}catch(_0x313c54){logger[_0xf6df('0x6')](_0xf6df('0x7'),_0x2b67cd,JSON[_0xf6df('0x8')](_0x313c54));_0x196e9f[_0xf6df('0x9')]();}};};