Loggers Section

The "Loggers" section provides configuration settings that enable you to specify one or more Logger sections; for example, for logging to both a "File" and "Console", or to have different files for different log levels.

"Loggers": [
   {
      "LogFileName": "<log-file-path>",
      "MaxLevel": "<log-level>",
      "Delay": <delay-in-milliseconds>,
      "RotateSize": <size-in-megabytes>,
      "RotateKeep": <number>,
      "Sink": "<File-or-Console>"
   },
   ...
]

"Loggers" is an array of "Logger" configurations, with values that match those listed in the Logger section table.

Only one of the "Logger" or "Loggers" sections can be present.

The effective Delay setting will be the lowest configured value, or the default setting if no configuration specifies a Delay value.

The following is an example of the Loggers section.

"Loggers":
      [
         {
            "MaxLevel" : "Debug",
            "Sink" : "File",
            "LogFileName": "C:\\Events\\Logs\\JadeEventProducer_Debug.log"
         },
         {
            "MaxLevel" : "Info",
            "Sink" : "File",
            "LogFileName": "C:\\Events\\Logs\\JadeEventProducer_Info.log"
         },
         {
            "MaxLevel" : "Info",
            "Sink" : "Console"
         }
      ]