Skip to content

How to actively release the memory requested through plog::inti #301

@MaXinzhao

Description

@MaXinzhao

when i using plog in my struct, I declare the plog with plog::init(plog::debug, logFileName.c_str(), 1024 * 1024 * 1024) in construction function, but i wonder how to release the memory in my struct's destructor function
and I have tried code the destructor function with no releasing the plog memory, when I running the struct twice, the same log will write twice

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