Skip to content

feat(binding/c): Add support for logging and other layers. #2679

@jiaoew1991

Description

@jiaoew1991

I am trying to integrate C binding into our project and encountered some errors. The error message only contains an error code, so I cannot determine the specific cause of the error. After using some hacky methods, I found the reason for the error, but it is not very user-friendly for developers.

There are many layers in opendal core, including logging, but C binding cannot use these layers yet. I hope to add support for them.

In addition, there are no dependencies on log and env-logging in c binding's cargo. After adding these dependencies, logging can be printed correctly. I hope that c binding can add a method like "opendal_init_logger" to allow users to adjust the logging settings.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions