MCPcopy Create free account
hub / github.com/ORCID/orcid-angular / st

Function st

scripts/new-relic.runtime.js:4048–4069  ·  view source on GitHub ↗
(e, t, r, n, i = !0)

Source from the content-addressed store, hash-verified

4046 var nt = i(2646)
4047 const it = new Map()
4048 function st(e, t, r, n, i = !0) {
4049 if (
4050 'object' != typeof t ||
4051 !t ||
4052 'string' != typeof r ||
4053 !r ||
4054 'function' != typeof t[r]
4055 )
4056 return (0, h.R)(29)
4057 const s = (function (e) {
4058 return (e || ae.ee).get('logger')
4059 })(e),
4060 o = (0, ce.YM)(s),
4061 a = new nt.y(ae.P)
4062 ;(a.level = n.level),
4063 (a.customAttributes = n.customAttributes),
4064 (a.autoCaptured = i)
4065 const c = t[r]?.[ce.Jt] || t[r]
4066 return (
4067 it.set(c, a), o.inPlace(t, [r], 'wrap-logger-', () => it.get(c)), s
4068 )
4069 }
4070 var ot = i(1910)
4071 class at extends y {
4072 static featureName = K.TZ

Callers 1

constructorMethod · 0.85

Calls 2

getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected