-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
107 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#ifndef LOGGER_H | ||
#define LOGGER_H | ||
|
||
void print(char* msg); | ||
void warning(char* msg); | ||
#if DEBUG | ||
void debug(char* msg); | ||
void debug_fn(char* message); | ||
#endif | ||
void info(char* msg); | ||
void print_stderr(char* msg); | ||
void warning_fn(char* message); | ||
void info_fn(char* message); | ||
void logger_init(); | ||
void set_terminal_title(char* message); | ||
|
||
#endif /* LOGGER_H */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[CCode (cheader_filename = "logger.h")] | ||
public void print(string msg); | ||
|
||
[CCode (cheader_filename = "logger.h")] | ||
public void warning(string msg); | ||
|
||
#if DEBUG | ||
[CCode (cheader_filename = "logger.h")] | ||
public void debug(string msg); | ||
|
||
[CCode (cheader_filename = "logger.h")] | ||
public void debug_fn (string message); | ||
#endif | ||
|
||
[CCode (cheader_filename = "logger.h")] | ||
public void info(string msg); | ||
|
||
[CCode (cheader_filename = "logger.h")] | ||
public void print_stderr(string msg); | ||
|
||
[CCode (cheader_filename = "logger.h")] | ||
public void warning_fn (string message); | ||
|
||
[CCode (cheader_filename = "logger.h")] | ||
public void info_fn (string message); | ||
|
||
[CCode (cheader_filename = "logger.h")] | ||
public void logger_init (); | ||
|
||
[CCode (cheader_filename = "logger.h")] | ||
public void set_terminal_title (string message); |