Class SystemOutPlatformLogger

java.lang.Object
com.prineside.tdi2.utils.logging.SystemOutPlatformLogger
All Implemented Interfaces:
PlatformLogger

public final class SystemOutPlatformLogger extends Object implements PlatformLogger
A regular System.out logger, usually used by the Desktop and Headless backends. Does not write to System.err to make sure all messages are properly synchronized. Allows to wrap messages into ASCII terminal color tags.
  • Constructor Details

    • SystemOutPlatformLogger

      public SystemOutPlatformLogger(boolean colored, boolean padded)
      Parameters:
      colored - if true, debug/warn/error messages will be wrapped into ASCII color escape codes for terminals
      padded - if true, tags and message levels will be aligned into columns
  • Method Details