LoggerInterface inspired by PHP PSR-3

Dependents:   LogIt

Files at this revision

API Documentation at this revision

Comitter:
Sille Van Landschoot
Date:
Sun Apr 02 13:02:48 2017 +0200
Parent:
1:8ee5fd3c1bf1
Child:
6:015483427bd3
Commit message:
add pragma once to h file

Changed in this revision

LoggerInterface.h Show annotated file Show diff for this revision Revisions of this file
--- a/LoggerInterface.h	Thu Nov 24 14:25:31 2016 +0000
+++ b/LoggerInterface.h	Sun Apr 02 13:02:48 2017 +0200
@@ -1,12 +1,13 @@
+#pragma once
 
 namespace Log{
 
 class LoggerInterface
 {
     public:
-    
+
     enum Level {EMERGENCY, ALERT, CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG};
-    
+
     /**
      * System is unusable.
      *
@@ -83,4 +84,4 @@
     virtual void log(Level level, char* message, ...) = 0;
 };
 
-}
\ No newline at end of file
+}