Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Fix device log filter #905

Merged
merged 1 commit into from
Mar 16, 2017
Merged

Conversation

TsvetanMilanov
Copy link
Contributor

We have added one parameter in the filter method which we do not need and we do not respect it when we call the method. The solution is to remove it.

@justcodebuilduser
Copy link

💔

We have added one parameter in the filter method which we do not need and we do not respect it when we call the method. The solution is to remove it.
@TsvetanMilanov TsvetanMilanov force-pushed the milanov/fix-device-log-filter branch from 2fcf361 to 04b0009 Compare March 14, 2017 13:11
@justcodebuilduser
Copy link

❤️

Copy link
Collaborator

@rosen-vladimirov rosen-vladimirov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is not the correct fix. The problem is somewhere else, maybe we are not passing correct arguments everywhere...

* @param {string} pid @optional The application PID for this device.
* @param {string} logLevel @optional The logging level based on which input data will be filtered.
* @return {string} The filtered result based on the input or null when the input data shouldn't be shown.
*/
filterData(platform: string, data: string, projectDir: string, pid?: string, logLevel?: string): string;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

@TsvetanMilanov TsvetanMilanov Mar 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The projectDirectory is required only in the ios-log-filter in the NS CLI. That's why we will remove the parameter from the method and fix it only in the NS CLI.

@TsvetanMilanov TsvetanMilanov merged commit 5e86125 into master Mar 16, 2017
@TsvetanMilanov TsvetanMilanov deleted the milanov/fix-device-log-filter branch March 16, 2017 15:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants