Appendix log for ttrace
[platform/core/uifw/dali-adaptor.git] / dali / internal / trace / generic / trace-manager-impl-generic.h
index c9a755f..c802a7c 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef DALI_INTERNAL_TRACE_MANAGER_IMPL_UBUNTU_H
-#define DALI_INTERNAL_TRACE_MANAGER_IMPL_UBUNTU_H
+#ifndef DALI_INTERNAL_TRACE_MANAGER_IMPL_GENERIC_H
+#define DALI_INTERNAL_TRACE_MANAGER_IMPL_GENERIC_H
 
 /*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 
 namespace Dali
 {
-
 namespace Internal
 {
-
 namespace Adaptor
 {
 class PerformanceInterface;
@@ -37,7 +35,7 @@ class TraceManagerGeneric : public Dali::Internal::Adaptor::TraceManager
 {
 public:
   /**
-   * Static member to hold TraceManagerUbuntu instance. This allows
+   * Static member to hold TraceManagerGeneric instance. This allows
    * to access PerformanceInterface for network logging.
    */
   static TraceManagerGeneric* traceManagerGeneric;
@@ -45,7 +43,7 @@ public:
   /**
    * Explicit Constructor
    */
-  explicit TraceManagerGeneric( PerformanceInterface* performanceInterface );
+  explicit TraceManagerGeneric(PerformanceInterface* performanceInterface);
 
 protected:
   /**
@@ -54,16 +52,15 @@ protected:
   ~TraceManagerGeneric() override = default;
 
   /**
-   * Obtain the LogContextFunction method (Ubuntu specific) used for tracing
+   * Obtain the LogContextFunction method (Generic specific) used for tracing
    */
-  virtual Dali::Integration::Trace::LogContextFunction GetLogContextFunction() final;
+  Dali::Integration::Trace::LogContextFunction GetLogContextFunction() final;
 
 private:
-
   /**
-   * LogContext method (Ubuntu specific) used for tracing
+   * LogContext method (Generic specific) used for tracing
    */
-  static void LogContext( bool start, const char* tag );
+  static void LogContext(bool start, const char* tag, const char* message);
 };
 
 } // namespace Adaptor
@@ -72,4 +69,4 @@ private:
 
 } // namespace Dali
 
-#endif // DALI_INTERNAL_TRACE_MANAGER_IMPL_UBUNTU_H
+#endif // DALI_INTERNAL_TRACE_MANAGER_IMPL_GENERIC_H