Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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