* @param {string} name the name of this logger. * @param {Level=} opt_level the initial level for this logger.
(name, opt_level)
| 260 | * @param {Level=} opt_level the initial level for this logger. |
| 261 | */ |
| 262 | constructor(name, opt_level) { |
| 263 | /** @private {string} */ |
| 264 | this.name_ = name |
| 265 | |
| 266 | /** @private {Level} */ |
| 267 | this.level_ = opt_level || null |
| 268 | |
| 269 | /** @private {Logger} */ |
| 270 | this.parent_ = null |
| 271 | |
| 272 | /** @private {Set<function(!Entry)>} */ |
| 273 | this.handlers_ = null |
| 274 | |
| 275 | /** @private {Set<string>} ids already reported via {@link #deprecate}. */ |
| 276 | this.deprecated_ = new Set() |
| 277 | } |
| 278 | |
| 279 | /** @return {string} the name of this logger. */ |
| 280 | getName() { |
nothing calls this directly
no outgoing calls
no test coverage detected