Skip to content

PhillipDaPaster/Logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

ImGui Logger

Usage

Draw logs on the screen at position (50, 50)

D::log.draw(ImVec2(50, 50), true, ImColor(255, 255, 0, 255));

Add a log entry

add_log( <(Const Char PRE-TEXT)>, <(Const Char TEXT)>, <( Int Interval )>, <( Bool RunOnce )> );

D::log.add_log("[INFO] ", "This is a log entry.");

Example of Log Entry

D::log.add_log("[INFO] ", "This is a log entry.");

Toggle auto-scroll on and off

D::log.setautoscroll(true);
D::log.setautoscroll(false);

Clear all log entries

D::log.clear();

About

Simple ImGui logging system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages