Limit how often GC can be run.
[SquirrelJME.git] / buildSrc / src / main / java / cc / squirreljme / plugin / multivm / __LogHolder__.java
blob1ff92d1d7222a01d77ea2ff0d4c06e33c074c6c9
1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // Multi-Phasic Applications: SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the Mozilla Public License Version 2.0.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package cc.squirreljme.plugin.multivm;
12 import org.gradle.api.logging.Logger;
14 /**
15 * Logger instance holders.
17 * @since 2022/07/01
19 final class __LogHolder__
21 /** The logger to log to. */
22 public final Logger logger;
24 /**
25 * Initializes the log holder.
27 * @param __logger The logger to log to.
28 * @throws NullPointerException On null arguments.
29 * @since 2022/07/01
31 public __LogHolder__(Logger __logger)
32 throws NullPointerException
34 if (__logger == null)
35 throw new NullPointerException("NARG");
37 this.logger = __logger;