We're updating the issue view to help you get more done. 

Ability to asynchronize any logger via new 'async' property

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}.

1 2 3 4 5 6 7 8 9 10 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" ] };

Status

Assignee

Luis Majano

Reporter

Luis Majano

Labels

None

Components

Fix versions

Priority

Major