57件ヒット
[1-57件を表示]
(0.144秒)
別のキーワード
クラス
- Logger (9)
-
RubyVM
:: InstructionSequence (24) - Thread (24)
キーワード
- DEBUG= (12)
-
compile
_ option (12) -
compile
_ option= (12) - new (9)
検索結果
先頭5件
- Thread
. DEBUG -> Integer - RubyVM
:: InstructionSequence . compile _ option=(options) - RubyVM
:: InstructionSequence . compile _ option -> Hash - Thread
. DEBUG=(val) - Logger
. new(logdev , shift _ age = 0 , shift _ size = 1048576 , level: Logger :: Severity :: DEBUG , progname: nil , formatter: Formatter . new , datetime _ format: nil , shift _ period _ suffix: & # 39;%Y%m%d& # 39;) -> Logger
-
Thread
. DEBUG -> Integer (21244.0) -
スレッドのデバッグレベルを返します。
...れ以外の場合は、スレッドのデバッグログを標準出力に出力します。
初期値は 0 です。
使用するためには、THREAD_DEBUG を -1 にして Ruby をコンパイルする必要が
あります。
//emlist[例][ruby]{
Thread.DEBUG # => 0
//}
@see Thread.DEBUG=... -
RubyVM
:: InstructionSequence . compile _ option=(options) (12207.0) -
命令シーケンスのコンパイル時のデフォルトの最適化オプションを引数 options で指定します。
...ル時のデフォルトの最適化オプションを引数
options で指定します。
@param options コンパイル時の最適化オプションを true、false、nil、
Hash のいずれかで指定します。true を指定した場合は
全てのオプショ......true か false を指定する事で個
別に有効、無効を指定します。
//emlist{
* :inline_const_cache
* :instructions_unification
* :operands_unification
* :peephole_optimization
* :specialized_instruction
* :stack_caching
* :tailcall_optimization
* :trace......struction
//}
:debug_level をキーに指定した場合は値を数値で指定します。
.new、.compile、.compile_file メソッドの実行の際に option 引数を指定し
た場合はその実行のみ最適化オプションを変更する事もできます。
@see Ruby... -
RubyVM
:: InstructionSequence . compile _ option -> Hash (12125.0) -
命令シーケンスのコンパイル時のデフォルトの最適化オプションを Hash で返 します。
...//emlist[例][ruby]{
require "pp"
pp RubyVM::InstructionSequence.compile_option
# => {:inline_const_cache=>true,
# :peephole_optimization=>true,
# :tailcall_optimization=>false,
# :specialized_instruction=>true,
# :operands_unification=>true,
# :instructions_unification=>false,
# :stack_caching=>......false,
# :trace_instruction=>true,
# :frozen_string_literal=>false,
# :debug_frozen_string_literal=>false,
# :coverage_enabled=>true,
# :debug_level=>0}
//}
@see RubyVM::InstructionSequence.compile_option=... -
Thread
. DEBUG=(val) (9156.0) -
スレッドのデバッグレベルを val に設定します。
...teger に変換してから設定します。
偽 のときは 0 を設定します。
使用するためには、THREAD_DEBUG を -1 にして Ruby をコンパイルする必要が
あります。
//emlist[例][ruby]{
Thread.DEBUG # => 0
Thread.DEBUG = 1
Thread.DEBUG # => 1
//}
@see Thread.DEBUG... -
Logger
. new(logdev , shift _ age = 0 , shift _ size = 1048576 , level: Logger :: Severity :: DEBUG , progname: nil , formatter: Formatter . new , datetime _ format: nil , shift _ period _ suffix: & # 39;%Y%m%d& # 39;) -> Logger (420.0) -
Logger オブジェクトを生成します。
...ァイル名か、 IO オブジェクト(STDOUT, STDERR など)を指定します。
@param shift_age ログファイルを保持する数か、ログファイルを切り替える頻度を指定します。
頻度には daily, weekly, monthly を文字列で指定することが......aram shift_size shift_age を整数で指定した場合のみ有効です。
このサイズでログファイルを切り替えます。
@param level ログに記録する時のログレベルを指定します。省略した場合は
Logger::Severity::DEBUG です......す。省略した場合は nil です。
@param formatter ログに記録する時のログのフォーマッタを指定します。
省略した場合は Logger::Formatter インスタンスです。
@param datetime_format ログに記録する時の日時のフォーマット...