Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
数値を 2 進表記でログに記録することはできますか?
たとえば、署名付き表記を使用する場合、Logbinary(0x3) は 0111 を与える必要があります。
使用する
Integer.toBinaryString(yourint);
また
Long.toBinaryString(yourint);
数値をログに記録できるバイナリ文字列に変換します。