Package org.parts3492.partslib
Class PARTsLogger
java.lang.Object
org.parts3492.partslib.PARTsLogger
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new PARTsLogger.PARTsLogger(boolean allowLogging) Create a new PARTsLogger.Create a new PARTsLogger with the object's class name.PARTsLogger(Object o, boolean allowLogging) Create a new PARTsLogger with the object's class name.PARTsLogger(String name) Create a new PARTsLogger with the following name.PARTsLogger(String name, boolean allowLogging) Create a new PARTsLogger with the following name. -
Method Summary
Modifier and TypeMethodDescriptionvoidDisables the logging.voidEnables the logging if it has been disabled.booleanlogBoolean(String key, boolean b) voidbooleanvoidboolean
-
Constructor Details
-
PARTsLogger
public PARTsLogger()Create a new PARTsLogger.By default, logging is disabled.
-
PARTsLogger
public PARTsLogger(boolean allowLogging) Create a new PARTsLogger.- Parameters:
allowLogging- Enables logging.
-
PARTsLogger
Create a new PARTsLogger with the following name.By default, logging is disabled.
-
PARTsLogger
Create a new PARTsLogger with the following name.- Parameters:
allowLogging- Enables logging.
-
PARTsLogger
Create a new PARTsLogger with the object's class name.E.g.
PARTsLogger.By default, logging is disabled.
-
PARTsLogger
Create a new PARTsLogger with the object's class name.E.g.
PARTsLogger.- Parameters:
allowLogging- Enables logging.
-
-
Method Details
-
enableLogging
public void enableLogging()Enables the logging if it has been disabled. -
disableLogging
public void disableLogging()Disables the logging. -
logBoolean
-
logDouble
-
logString
-
logCommandScheduler
public void logCommandScheduler() -
logPathPlanner
public void logPathPlanner()
-