Skip to content

Log messages are not redirected to a provided consumer #101

Open
@karambaso

Description

@karambaso

If to set logger using LlamaModel.setLogger then logs are printed to the std out instead of the provided consumer.

It seems that logging was redefined in Utils.cpp which includes log.h and uses a template that never calls the consumer.

To reproduce the bug it is enough just to call LlamaModel.setLogger with LogFormat.TEXT and a consumer that prints to the std out with some prefix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions