Debugger - Stage 3 (artf511247)
[deliverable/titan.core.git] / core / Logger.hh
index 19f50093f0c21e62767ad831d8602b657a535f26..96d1b2d71a62de1f76c70ad6769611d8796f47b6 100644 (file)
@@ -1,10 +1,24 @@
-///////////////////////////////////////////////////////////////////////////////
-// Copyright (c) 2000-2015 Ericsson Telecom AB
-// All rights reserved. This program and the accompanying materials
-// are made available under the terms of the Eclipse Public License v1.0
-// which accompanies this distribution, and is available at
-// http://www.eclipse.org/legal/epl-v10.html
-///////////////////////////////////////////////////////////////////////////////
+/******************************************************************************
+ * Copyright (c) 2000-2016 Ericsson Telecom AB
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *   Balasko, Jeno
+ *   Baranyi, Botond
+ *   Beres, Szabolcs
+ *   Delic, Adam
+ *   Forstner, Matyas
+ *   Kovacs, Ferenc
+ *   Raduly, Csaba
+ *   Szabados, Kristof
+ *   Szabo, Janos Zoltan – initial implementation
+ *   Zalanyi, Balazs Andor
+ *   Pandi, Krisztian
+ *
+ ******************************************************************************/
 #ifndef LOGGER_HH
 #define LOGGER_HH
 
@@ -180,6 +194,10 @@ public:
   static emergency_logging_behaviour_t emergency_logging_behaviour;
   static void set_emergency_logging_behaviour(emergency_logging_behaviour_t behaviour);
   static emergency_logging_behaviour_t get_emergency_logging_behaviour();
+  
+  static boolean emergency_logging_for_fail_verdict;
+  static void set_emergency_logging_for_fail_verdict(boolean b);
+  static boolean get_emergency_logging_for_fail_verdict();
 
   /** @brief returns the actual length of the logmatch buffer
   This way it can be stored for later, when the buffer needs to be reverted.
@@ -818,6 +836,10 @@ public:
    *
    **/
   static void strip_entity_name(char*& par_str);
+  
+  /** @brief Return the innermost location's line number 
+   **/
+  static unsigned int get_line_number();
 protected:
   char *append_contents(char *par_str, boolean print_entity_name) const;
 };
This page took 0.025327 seconds and 5 git commands to generate.