ruby/.github/workflows
Koichi Sasada 8655c2e690
RUBY_DEBUG_LOG: Logging debug information mechanism (#3279)
* RUBY_DEBUG_LOG: Logging debug information mechanism

This feature provides a mechanism to store logging information
to a file, stderr or memory space with simple macros.

The following information will be stored.
  * (1) __FILE__, __LINE__ in C
  * (2) __FILE__, __LINE__ in Ruby
  * (3) __func__ in C (message title)
  * (4) given string with sprintf format
  * (5) Thread number (if multiple threads are running)

This feature is enabled only USE_RUBY_DEBUG_LOG is enabled.
Release version should not enable it.

Running with the `RUBY_DEBUG_LOG` environment variable enables
this feature.

  # logging into a file
  RUBY_DEBUG_LOG=/path/to/file STDERR

  # logging into STDERR
  RUBY_DEBUG_LOG=stderr

  # logging into memory space (check with a debugger)
  # It will help if the timing is important.
  RUBY_DEBUG_LOG=mem

RUBY_DEBUG_LOG_FILTER environment variable can specify the fileter string.
If "(3) __func__ in C (message title)" contains the specified string, the
infomation will be stored (example: RUBY_DEBUG_LOG_FILTER=str will enable
only on str related information).

In a MRI source code, you can use the following macros:
  * RUBY_DEBUG_LOG(fmt, ...): Above (1) to (4) will be logged.
  * RUBY_DEBUG_LOG2(file, line, fmt, ...):
    Same as RUBY_DEBUG_LOG(), but (1) will be replaced with given file, line.
2020-07-03 16:55:54 +09:00
..
check_branch.yml Migrate Wercker MJIT tests to Actions (#2676) 2019-11-12 21:48:05 -08:00
codeql-analysis.yml Ignore conftest.c under the ext directories for CodeQL analysis 2020-07-03 15:16:55 +09:00
compilers.yml RUBY_DEBUG_LOG: Logging debug information mechanism (#3279) 2020-07-03 16:55:54 +09:00
macos.yml Update without touch-unicode-files 2020-06-16 12:29:02 +09:00
mingw.yml Just update sources in CI without fetching 2020-06-16 12:15:55 +09:00
mjit.yml Update without touch-unicode-files 2020-06-16 12:29:02 +09:00
ubuntu.yml Update without touch-unicode-files 2020-06-16 12:29:02 +09:00
windows.yml Update without touch-unicode-files 2020-06-16 12:29:02 +09:00