Class Generate.CustomLogger

java.lang.Object
org.apache.logging.log4j.core.tools.Generate.CustomLogger
Enclosing class:
Generate

public static final class Generate.CustomLogger extends Object
Generates source code for custom logger wrappers that only provide convenience methods for the specified custom levels, not for the standard built-in levels.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Generates source code for custom logger wrappers that only provide convenience methods for the specified custom levels, not for the standard built-in levels.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CustomLogger

      private CustomLogger()
  • Method Details

    • main

      public static void main(String[] args)
      Generates source code for custom logger wrappers that only provide convenience methods for the specified custom levels, not for the standard built-in levels.
      Parameters:
      args - className of the custom logger to generate, followed by a NAME=intLevel pair for each custom log level to generate convenience methods for