Package net.dona.doip.server

# Class DoipServerConfig.LogConfig

java.lang.Object
net.dona.doip.server.DoipServerConfig.LogConfig

Enclosing class:
  DoipServerConfig

public static class DoipServerConfig.LogConfig extends Object
Logging configuration for a `DoipServer`.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `boolean`
  `logAccesses`
  Whether to log requests.
  `String`
  `loggerName`
  The name of the logger to use.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LogConfig()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object obj)`
  `int`
  `hashCode()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### logAccesses

    public boolean logAccesses
    Whether to log requests. Defaults to false.

  - ### loggerName

    public String loggerName
    The name of the logger to use. This logger can be configured any standard SLF4J logging interface. Defaults to "doipAccessLogger".

- ## Constructor Details

  - ### LogConfig

    public LogConfig()

- ## Method Details

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### equals

    public boolean equals(Object obj)
    Overrides:
      `equals` in class `Object`