Menu

Feature request / idea - forced log write like .text(std::string Message)

Jes
2020-12-02
2020-12-02
  • Jes

    Jes - 2020-12-02

    Hi.
    I lack a feature to have a "forced" write of a log entry, basically a side-level thing that is called .text (or whatever)
    I is for those messages that are not debug,info,warn,fatal etc. but rather plain informative of the application progress like .text("application has shut down gracefully"); or .text("initialization completed successfully");

    I lack this feature so that when logging an application with ERROR level then i can get this visual signature of forced texts that with a glimpse let me determine if things has behaving normally for days up to crashes start to occur.

    I can have a go at it if people find it worthy of acceptance....

     
  • Alexander Perepelkin

    Hello Jes,

    Could you please elaborate more on this " . text"?
    What is its essential difference from usual lines logged with the code like
    logger.info("Initialized ok"); ?

    Thanks,
    Alexander

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.