diff options
Diffstat (limited to 'files/bn/archive/b2g_os/debugging/on-device_console_logging/index.html')
| -rw-r--r-- | files/bn/archive/b2g_os/debugging/on-device_console_logging/index.html | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/files/bn/archive/b2g_os/debugging/on-device_console_logging/index.html b/files/bn/archive/b2g_os/debugging/on-device_console_logging/index.html deleted file mode 100644 index e45b26d57b..0000000000 --- a/files/bn/archive/b2g_os/debugging/on-device_console_logging/index.html +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: অন-ডিভাইস কনসোল লগইন -slug: Archive/B2G_OS/Debugging/On-device_console_logging -tags: - - NeedsReview -translation_of: Archive/B2G_OS/Debugging/On-device_console_logging ---- -<div class="summary"> - <p><span class="seoSummary"> আউটপুট এ লগইন করা এবং তা <a href="/en-US/docs/Mozilla/Firefox_OS/Debugging/Using_the_Remote_Web_Console" title="/en-US/docs/Mozilla/Firefox_OS/Debugging/Using_the_Remote_Web_Console">remote web console</a> এর সাহায্যে দেখা ছাড়াও, আপনি ডিভাইস এর onboard file store এ কনসোল আউটপুট দ্বারা লগইন করতে পারবেন ,তারপর</span><a href="http://developer.android.com/tools/help/logcat.html" style="font-size: 14px; line-height: 1.5; text-decoration: underline;" title="http://developer.android.com/tools/help/logcat.html"><code style="font-size: 13.63636302947998px;">logcat</code></a><span style="font-size: 14px; line-height: 1.5;"> </span><span style="font-size: 14px; line-height: 1.5;">ইউটিলিটি এবং </span><span style="font-size: 14px; line-height: 1.5;">USB সংযোগ ব্যবহার করে আপনার computer থেকে লগ </span><span style="font-size: 14px; line-height: 1.5;">আহরণ</span><span style="font-size: 14px; line-height: 1.5;"> করতে পারেন ।</span><span style="font-size: 14px; line-height: 1.5;"> কি ভাবে </span><span style="font-size: 14px; line-height: 1.5;">এই বৈশিষ্ট্য সঠিক </span>ব্যবহার<span style="font-size: 14px; line-height: 1.5;"> করবেন, কি ভাবে লগইন করবেন এবং কিভাবে লগ গুলো </span><span style="font-size: 14px; line-height: 1.5;">আহরণ করবেন তা এই </span><span style="font-size: 14px; line-height: 1.5;">article জুড়ে বলা হয়েছে।</span></p> -</div> -<h2 id="কনসোল_লগইন_সক্রিয়_করার_পদ্ধতি">কনসোল লগইন সক্রিয় করার পদ্ধতি</h2> -<p>ফায়ারফক্স ওএস এর production এর সময়ে থেকে , কনসোল লগইন (যেমন {{domxref ("console.log ()")}}) ডিফল্ট রূপে বন্ধ করা থাকে। এটি সক্রিয় করতে , ডিভাইস এর <a href="/en-US/Firefox_OS/Debugging/Developer_settings">Developer settings</a> এ যান এবং <em>Console Enabled</em> preference সক্রিয় করুণ।</p> -<h2 id="লগইন">লগইন</h2> -<p>একবার লগইন সক্রিয় হয়ে গেলে , এটা ডেস্কটপের ফায়ারফক্স ওএস এ লগইন এর মতই কাজ করে । আপনি সহজে object to log text to the console এ {{domxref ("কনসোল")}} এই method ব্যবহার করতে পারেন । যেমন <span style="font-size: 14px; line-height: 1.5;">:</span></p> -<pre class="brush: js">console.info("Starting up the foobar hardware!"); -var err = foobar.start(); -if (err) { - console.error("--Error %d starting up the foobar hardware!", err); -} -</pre> -<div class="note"> - <p><b>Note: </b>লগইন এর কোন features আপনার জন্য খোলা তা সম্পর্কে বিস্তারিত জানতে {{domxref("console")}} দেখুন। </p> -</div> -<h2 id="logcat_ব্যবহার">logcat ব্যবহার</h2> -<p>লগ আউটপুট ফায়ারফক্স ওএস ডিভাইসের মধ্যে সংরক্ষিত হওয়ার ফলে, এবং ডিভাইস এই লগ দেখার জন্য বর্তমানে কোন ইউসার ইন্টারফেস না থাকার কারনে , তা পর্যালোচনার জন্য একটি computer এ ওইগুলো আনতে হবে । আপনাকে adb থেকে logcat কমান্ড ব্যবহার করতে হবে, যা Android SDK এর একটি অংশ ( <a href="/en-US/Firefox_OS/Debugging/Installing_ADB">Installing ADB</a> দেখেন)।</p> -<p>ভাগ্যক্রমে, একবার adb ইনস্টল ও USB দ্বারা আপনার ডিভাইস কম্পিউটারের সাথে সংযুক্ত করা হয়ে গেলে logcat ব্যবহার করা অনেক সহজ হয়ে যায়, আপনি এই ভাবে টার্মিনাল থেকে এটি ব্যবহার করতে পারেন:</p> -<pre class="brush: bash">adb logcat</pre> -<p>যার ফলাফল ডিভাইস এর লগ <span style="font-size: 14px; line-height: 1.5;">(</span><code style="font-size: 13.63636302947998px;">/dev/log/system/ এ সংরক্ষিত)</code><span style="font-size: 14px; line-height: 1.5;">টার্মিনাল এ অউটপুট হিসাবে দেখতে পাওয়া </span><span style="font-size: 14px; line-height: 1.5;">, যেমনঃ </span></p> -<pre class="brush: bash">I/Vold ( 107): Vold 2.1 (the revenge) firing up -D/Vold ( 107): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media) -D/Vold ( 107): Volume emmc state changing -1 (Initializing) -> 0 (No-Media) -D/Vold ( 107): Volume sdcard state changing 0 (No-Media) -> 2 (Pending) -D/Vold ( 107): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted) -W/Vold ( 107): Duplicate state (1) -W/Vold ( 107): Duplicate state (1) -W/Vold ( 107): Duplicate state (1) -W/Vold ( 107): Duplicate state (1) -W/Vold ( 107): Duplicate state (1) -W/Vold ( 107): Duplicate state (1) -W/Vold ( 107): Duplicate state (1) -W/Vold ( 107): Duplicate state (1) -W/Vold ( 107): Duplicate state (1) -W/Vold ( 107): Duplicate state (1) -W/Vold ( 107): Duplicate state (1) -W/Vold ( 107): Duplicate state (1) -W/Vold ( 107): Duplicate state (1) -D/Vold ( 107): Volume emmc state changing 0 (No-Media) -> 2 (Pending) -D/Vold ( 107): Volume emmc state changing 2 (Pending) -> 1 (Idle-Unmounted) -D/VoldCmdListener( 107): volume list -D/VoldCmdListener( 107): volume mount sdcard -I/Vold ( 107): /dev/block/vold/179:20 being considered for volume sdcard -D/Vold ( 107): Volume sdcard state changing 1 (Idle-Unmounted) -> 3 (Checking) -W/Vold ( 107): Skipping fs checks -I/Vold ( 107): Device /dev/block/vold/179:20, target /mnt/sdcard mounted @ /mnt/secure/staging -D/Vold ( 107): Volume sdcard state changing 3 (Checking) -> 4 (Mounted) -D/VoldCmdListener( 107): volume mount emmc -I/Vold ( 107): /dev/block/vold/179:33 being considered for volume emmc -D/Vold ( 107): Volume emmc state changing 1 (Idle-Unmounted) -> 3 (Checking) -W/Vold ( 107): Skipping fs checks -I/Vold ( 107): Device /dev/block/vold/179:33, target /mnt/emmc mounted @ /mnt/secure/staging -D/Vold ( 107): Volume emmc state changing 3 (Checking) -> 4 (Mounted) - -etc. -</pre> |
