diff options
| author | Joel Stålnacke <joel@saker.fi> | 2024-10-13 14:32:14 +0300 |
|---|---|---|
| committer | Joel Stålnacke <joel@saker.fi> | 2024-10-13 14:32:14 +0300 |
| commit | 11b2cfa087f5de09b97eb42fb219f563886f6d40 (patch) | |
| tree | 215a8e65edc0b74a47da63a0c8230b8eadba060f /Djup.Native/Types.cs | |
| parent | 53a1cdf5bee2955995dfbf441f5354d1dcfc1e0c (diff) | |
Add libdjup logging
Diffstat (limited to 'Djup.Native/Types.cs')
| -rw-r--r-- | Djup.Native/Types.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Djup.Native/Types.cs b/Djup.Native/Types.cs index c930bd6..572277f 100644 --- a/Djup.Native/Types.cs +++ b/Djup.Native/Types.cs @@ -39,3 +39,15 @@ public struct Ball public Vec2 Position { get; set; } public Vec2 Velocity { get; set; } } + +public enum LogLevel +{ + Trace, + Debug, + Info, + Warn, + Error, + Fatal +} + +public delegate void LoggerDelegate(LogLevel level, string source, int line, string message); |
