You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These above logs seems not needed for users to execute this program. The solution can be deleting the logs.
Problem
Some logs like avobe at Brifing when executing by ./exe.sh file.json at ./ are not needed for users who execute the repository. Such logs are important when debugging but users may not want to read.
Solution
The logs should be deleted on the log. Desirable logs look like,
Script started.
local_obj.json will be translated into other language version local_obj.json.
spawn node ./src/index.js 0 local_obj.json
Tag name is undefined at: []
Target language: af
Tag name is undefined at: undefined
file is written
Todos
Fork this repository of log-with-info branch.
Install npm modules at your fork.
Notice logs by executing command ./exe.sh local_obj.json at ./.
Edit logs by execution like the example above.
If suitable information can be added then add one to the log.
Test if the fork is working by executing ./exe.sh local_obj.json at ./.
If error occurs fix.
If no error ask pull request to log-with-info branch.
Help
The logs are created by console.log(indexArg, ': ' , valArg) at line 12 in ./src/index.js.
By executing ./exe.sh local_obj.json at ./, each index.js is executed for each target language.
Node execution command can be like node index.js en file.json. Each word is the value argument of the log.
Briefing
When executing this repository by
./exe.sh file.json
at./
, there are some logs like below,These above logs seems not needed for users to execute this program. The solution can be deleting the logs.
Problem
Some logs like avobe at Brifing when executing by
./exe.sh file.json
at./
are not needed for users who execute the repository. Such logs are important when debugging but users may not want to read.Solution
The logs should be deleted on the log. Desirable logs look like,
Todos
log-with-info
branch../exe.sh local_obj.json
at./
../exe.sh local_obj.json
at./
.log-with-info
branch.Help
console.log(indexArg, ': ' , valArg)
at line 12 in./src/index.js
../exe.sh local_obj.json
at./
, eachindex.js
is executed for each target language.node index.js en file.json
. Each word is the value argument of the log.node
command(It explains how aconsole.log()
repeats 4 times).Permission denied
error while executing thensudo ./exe.sh local_obj.json
at./
.The text was updated successfully, but these errors were encountered: