Skip to content

Commit ad3cc34

Browse files
RDKEMW-1017 RDKEMW-1018: Removed the SetLogging as per review comments
Signed-off-by: yuvaramachandran_gurusamy <[email protected]>
1 parent 5b3d195 commit ad3cc34

File tree

2 files changed

+0
-46
lines changed

2 files changed

+0
-46
lines changed

apis/Miracast/IMiracastPlayer.h

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,6 @@ namespace WPEFramework
6161
STOP_REASON_APP_REQ_FOR_NEW_CONNECTION = 301 /* @text APP_REQ_TO_STOP_ON_NEW_CONNECTION */
6262
};
6363

64-
enum LogLevel : uint8_t
65-
{
66-
LOG_LEVEL_FATAL = 0 /* @text FATAL */,
67-
LOG_LEVEL_ERROR = 1 /* @text ERROR */,
68-
LOG_LEVEL_WARNING = 2 /* @text WARNING */,
69-
LOG_LEVEL_INFO = 3 /* @text INFO */,
70-
LOG_LEVEL_VERBOSE = 4 /* @text VERBOSE */,
71-
LOG_LEVEL_TRACE = 5 /* @text TRACE */
72-
};
73-
7464
struct EXTERNAL DeviceParameters
7565
{
7666
string sourceDeviceIP /* @text source_dev_ip */ /* @brief IP Address of Source Device */;
@@ -87,12 +77,6 @@ namespace WPEFramework
8777
int32_t height /* @text H */ /* @brief Height of the rectangle */;
8878
};
8979

90-
struct EXTERNAL SeparateLogger
91-
{
92-
string logfileName /* @text logfilename */ /* @brief Name of the logFile */;
93-
string logStatus /* @text status */ /* @brief Whether ENABLE or DISABLE the separate logging */;
94-
};
95-
9680
struct EXTERNAL Result
9781
{
9882
string message /* @text message */ /* @brief reason for success or failure */;
@@ -155,13 +139,6 @@ namespace WPEFramework
155139
// @param success: Is the operation successful or not
156140
virtual Core::hresult SetVideoRectangle(const int &startX /* @in @text X */, const int &startY /* @in @text Y */, const int &width /* @in @text W */, const int &height /* @in @text H */, Result &returnPayload /* @out */) = 0;
157141

158-
// @brief To Enable/Disable/Reduce the Logging level for Miracast
159-
// @text setLogging
160-
// @param clienMac: MacAddress of the client device
161-
// @param clienName: Name of the client device
162-
// @param success: Is the operation successful or not
163-
virtual Core::hresult SetLogging(const LogLevel &logLevel /* @in @text level */, const SeparateLogger &separateLogger /* @in @text separate_logger */, Result &returnPayload /* @out */) = 0;
164-
165142
// @brief To configure the westeros environment arguments for the Miracast Player
166143
// @text setWesterosEnvironment
167144
// @param westerosArgs: Westeros environment arguments to be set

apis/Miracast/IMiracastService.h

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,6 @@ namespace WPEFramework
6161
PLAYER_REASON_CODE_NEW_SRC_DEV_CONNECT_REQ = 208 /* @text NEW_SRC_DEV_CONNECT_REQ */,
6262
};
6363

64-
enum LogLevel : uint8_t
65-
{
66-
LOG_LEVEL_FATAL = 0 /* @text FATAL */,
67-
LOG_LEVEL_ERROR = 1 /* @text ERROR */,
68-
LOG_LEVEL_WARNING = 2 /* @text WARNING */,
69-
LOG_LEVEL_INFO = 3 /* @text INFO */,
70-
LOG_LEVEL_VERBOSE = 4 /* @text VERBOSE */,
71-
LOG_LEVEL_TRACE = 5 /* @text TRACE */
72-
};
73-
7464
struct EXTERNAL DeviceParameters
7565
{
7666
string sourceDeviceIP /* @text source_dev_ip */ /* @brief IP Address of Source Device */;
@@ -79,12 +69,6 @@ namespace WPEFramework
7969
string sinkDeviceIP /* @text sink_dev_ip */ /* @brief IP Address of Sink Device */;
8070
};
8171

82-
struct EXTERNAL SeparateLogger
83-
{
84-
string logfileName /* @text logfilename */ /* @brief Name of the logFile */;
85-
string logStatus /* @text status */ /* @brief Whether ENABLE or DISABLE the separate logging */;
86-
};
87-
8872
struct EXTERNAL Result
8973
{
9074
string message /* @text message */ /* @brief reason for success or failure */;
@@ -159,13 +143,6 @@ namespace WPEFramework
159143
// @param success: Is the operation successful or not
160144
virtual Core::hresult UpdatePlayerState(const string &clientMac /* @in @text mac */, const PlayerState &playerState /* @in @text state */, const int &reasonCode /* @in @text reason_code */, Result &returnPayload /* @out */) = 0;
161145

162-
// @brief Enable or Disable or Reduce the Logging level for Miracast
163-
// @text setLogging
164-
// @param logLevel: The logging level to be set (e.g., "DEBUG", "INFO", "WARN", "ERROR")
165-
// @param separateLogger: Contains the separate logger properties
166-
// @param success: Is the operation successful or not
167-
virtual Core::hresult SetLogging(const LogLevel &logLevel /* @in @text level */, const SeparateLogger &separateLogger /* @in @text separate_logger */, Result &returnPayload /* @out */) = 0;
168-
169146
// @brief Sets the status of the MiracastService backend discovery
170147
// @text setP2PBackendDiscovery
171148
// @param enabled: Is the MiracastService backend discovery enabled or not

0 commit comments

Comments
 (0)