abraham-ai / eden

Eden converts your python function into a hosted endpoint with minimal changes to your existing code :mage_man:
GNU General Public License v3.0
47 stars 5 forks source link

set log level when hosting blocks #7

Closed Mayukhdeb closed 3 years ago

Mayukhdeb commented 3 years ago

The interface could look like:

host_block(
    block = eden_block,
    port = 9090,
    loglevel = 'debug'   ## options : 'critical', 'error', 'warning', 'info', 'debug', 'trace'.
)