kick
Static Public Member Functions | Static Public Attributes
kick::Debug Class Reference

List of all members.

Static Public Member Functions

static void drawLine (glm::vec3 from, glm::vec3 to, float seconds, glm::vec4 color=glm::vec4(1.0), Camera *camera=nullptr)
static void drawSphere (glm::vec3 center, float size, float seconds, glm::vec4 color=glm::vec4(1.0), Camera *camera=nullptr)
static void drawBox (glm::vec3 center, glm::vec3 size, float seconds, glm::vec4 color=glm::vec4(1.0), Camera *camera=nullptr)
static void disable ()
 Disable logging.
static void reset ()
 Set logging to std out and err out streams.
static void printStacktrace ()
static std::string workingDir ()

Static Public Attributes

static std::function< void(std::string
message, std::string func,
std::string file, int line)> 
info
static std::function< void(std::string
message, std::string func,
std::string file, int line)> 
warning
static std::function< void(std::string
message, std::string func,
std::string file, int line)> 
error

Detailed Description

Definition at line 24 of file debug.h.


Member Data Documentation

std::function< void(std::string, std::string, std::string, int)> kick::Debug::error [static]
Initial value:
 [](std::string message, std::string func, std::string file, int line){
        print("error", message, func, file, line, cerr);
    }

Definition at line 28 of file debug.h.

std::function< void(std::string, std::string, std::string, int)> kick::Debug::info [static]
Initial value:
 [](std::string message, std::string func, std::string file, int line){
        print("info", message, func, file, line);
    }

Definition at line 26 of file debug.h.

std::function< void(std::string, std::string, std::string, int)> kick::Debug::warning [static]
Initial value:
 [](std::string message, std::string func, std::string file, int line){
        print("warning", message, func, file, line);
    }

Definition at line 27 of file debug.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables