@axway/api-builder-plugin-fn-logger
v2.0.2
Published
Logger plugin
Downloads
687
Readme
@axway/api-builder-plugin-fn-logger
An API Builder plugin for logging.
About
This plugin installs the Logger flow-node to be used within Axway API Builder's flow editor.
Install
After creating your API Builder service (api-builder init
), you can install this plugin using npm:
npm install @axway/api-builder-plugin-fn-logger
The "Logger" flow-node will be then available in the tools panel when creating or editing Flows.
Usage
Check our docs on How to use the Logger plugin.
Methods
Log
Writes a message to the log.
| Param | Description | Type | Default | Configuration selection | Required | | --- | --- | --- | --- | --- | --- | | message | The log message. | string | - | Selector, String | Yes | | level | The desired log level of the output logs. | string | info | Selector, String | No |
!> NOTE: The output logs would be only visible when the configured level is greater than or equal to the application's config logLevel in order of most-to-least verbose: trace, debug, info, warn, error. For more information, see logLevel.
Changes
2.0.2
- #7538: Update
@axway/api-builder-sdk
dependency.
2.0.1
- #7517: Update @axway/api-builder-sdk dependency.
2.0.0
- #6089: Breaking change: requires minimum Node.js version 16.x.
1.1.5
- #7470: Update @axway/api-builder-sdk dependency.
1.1.4
- #7466: Update @axway/api-builder-sdk dependency.
1.1.3
- #7474: Internal dev-dependency move.
1.1.2
- #7412: Pin in-house dependencies.
1.1.1
- #7403: Internal dev-dependency change.
1.1.0
- #6933: Replace peerDependency on @axway/api-builder-runtime with
engines.apibuilder
.
1.0.2
- #7057: Updated documentation links.
1.0.1
- #7010: Changed the Error output schema from
type: 'string'
to betype: 'object'
. - #7010: Internal dependency bump.
1.0.0
- #6824: Official release.
0.1.0
- #6808: Initial release.
License
This code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies. Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: https://support.axway.com/en/auth/general-conditions; EXCEPT THAT IF YOU RECEIVED A FREE SUBSCRIPTION, LICENSE, OR SUPPORT SUBSCRIPTION FOR THIS CODE, NOTWITHSTANDING THE LANGUAGE OF THE GENERAL CONDITIONS, AXWAY HEREBY DISCLAIMS ALL SUPPORT AND MAINTENANCE OBLIGATIONS, AS WELL AS ALL EXPRESS AND IMPLIED WARRANTIES, INCLUDING BUT NOT LIMITED TO IMPLIED INFRINGEMENT WARRANTIES, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, AND YOU ACCEPT THE PRODUCT AS-IS AND WITH ALL FAULTS, SOLELY AT YOUR OWN RISK. Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.