PageSourceSearch

https://www.springerpub.com/static/version1789146322/base/Magento/…/default/Magento_Ui/js/lib/logger/entry.js

js springerpub.com collected 2026-09-24 08:47:42 UTC 897 bytes, 49 lines download raw bytes

1/**
2 * Copyright © Magento, Inc. All rights reserved.
3 * See COPYING.txt for license details.
4 */
5
6define([
7    './levels-pool'
8], function (logLevels) {
9    'use strict';
10
11    /**
12     * @param {String} message
13     * @param {Number} level
14     * @param {Object} [data]
15     */
16    function LogEntry(message, level, data) {
17        /**
18         * @readonly
19         * @type {Number}
20         */
21        this.timestamp = Date.now();
22
23        /**
24         * @readonly
25         * @type {Number}
26         */
27        this.level = level;
28
29        /**
30         * @readonly
31         * @type {String}
32         */
33        this.levelName = logLevels.getNameByCode(level);
34
35        /**
36         * @readonly
37         * @type {Object}
38         */
39        this.data = data;
40
41        /**
42         * @readonly
43         * @type {String}
44         */
45        this.message = message;
46    }
47
48    return LogEntry;
49});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.