[Asterisk-code-review] logger: Add custom logging level (asterisk[master])

Joshua Colp asteriskteam at digium.com
Mon Jul 26 08:18:43 CDT 2021


Attention is currently required from: N A.
Joshua Colp has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/16222 )

Change subject: logger: Add custom logging level
......................................................................


Patch Set 1:

(1 comment)

Patchset:

PS1: 
> The verbose logger as a whole seems tightly coupled to integer log levels, so I'm not sure how somet […]
The ast_logger_register_level function registers a custom named level. It looks like currently there isn't a way to retrieve it, though it could be added easily. The verbose dialplan application could then fall back to trying to retrieve the custom level, if found then it is logged using it.



-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16222
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: If082703cf81a436ae5a565c75225fa8c0554b702
Gerrit-Change-Number: 16222
Gerrit-PatchSet: 1
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: N A <mail at interlinked.x10host.com>
Gerrit-Comment-Date: Mon, 26 Jul 2021 13:18:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: N A <mail at interlinked.x10host.com>
Comment-In-Reply-To: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210726/f5ad586c/attachment-0001.html>


More information about the asterisk-code-review mailing list