1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const _ = require("lodash");
|
4 | function getClassAndMethodName(self, methodName) {
|
5 | let result = getClassName(self);
|
6 | if (result !== '') {
|
7 | result += '.';
|
8 | }
|
9 | result += methodName;
|
10 | return result;
|
11 | }
|
12 | exports.getClassAndMethodName = getClassAndMethodName;
|
13 | function getClassName(self) {
|
14 | return _.get(self, 'name') || _.get(self, 'constructor.name', '');
|
15 | }
|
16 | exports.getClassName = getClassName;
|