Sha256: 333c22e06aa3fe1c2afa96237a50c4509e3645021de950117d2c18de70925a67

Contents?: true

Size: 1.04 KB

Versions: 44

Compression:

Stored size: 1.04 KB

Contents

.. -*- rst -*-

.. highlightlang:: none

``log_put``
===========

Summary
-------

log_put - ログ出力

groonga組込コマンドの一つであるlog_putについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入>力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。

log_putは、ログにmessageを出力します。

Syntax
------
::

 log_put level message

Usage
-----
::

 log_put ERROR ****MESSAGE****
 [true]

Parameters
----------

``level``

  設定するログ出力レベルの値を以下のいずれかで指定します。

     EMERG
     ALERT
     CRIT
     error
     warning
     notice
     info
     debug

``message``

  出力する文字列を指定します。

Return value
------------

::

 [成功かどうかのフラグ]

``成功かどうかのフラグ``

  エラーが生じなかった場合にはtrue、エラーが生じた場合にはfalseを返す。

See also
--------

:doc:`log_level`
:doc:`log_reopen`

Version data entries

44 entries across 22 versions & 1 rubygems

Version Path
rroonga-5.0.5-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-5.0.5-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-5.0.5-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-5.0.5-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-5.0.4-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-5.0.4-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-5.0.4-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-5.0.4-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-5.0.3-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-5.0.3-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-5.0.3-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-5.0.3-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-5.0.2-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-5.0.2-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-5.0.2-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-5.0.2-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-5.0.1-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-5.0.1-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-5.0.1-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-5.0.1-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt