Uploaded image for project: 'LogBox'
  1. LOGBOX-15

Ability to asynchronize any logger via new 'async' property

    Details

      Description

      Ability to asynchronize any logger via new 'async' property. This is thanks to this pull request: https://github.com/ColdBox/coldbox-platform/pull/203

      For example, this logBox struct which is the default in the application templates, makes the ConsoleAppender threaded just be passing the properties=

      {async=true}

      .

      logBox = {
          // Define Appenders
          appenders = {
              coldboxTracer = { class="coldbox.system.logging.appenders.ConsoleAppender",properties={async:true} }
          },
          // Root Logger
          root = { levelmax="INFO", appenders="*" },
          // Implicit Level Categories
          info = [ "coldbox.system" ]
      };
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lmajano Luis Majano
                Reporter:
                lmajano Luis Majano
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: