Sha256: 6166394ec6552f8cbc1cb105f8b2dbdf40a15bb5b9bf82725921cf4b88eac5fc

Contents?: true

Size: 1.03 KB

Versions: 50

Compression:

Stored size: 1.03 KB

Contents

.. -*- rst -*-

.. highlightlang:: none

log_put
=======

名前
----

log_put - ログ出力

書式
----
::

 log_put level message

説明
----

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

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

引数
----

``level``

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

     EMERG
     ALERT
     CRIT
     error
     warning
     notice
     info
     debug

``message``

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

返値
----

json形式
^^^^^^^^

::

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

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

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

例
--
::

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

関連項目
--------

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

Version data entries

50 entries across 25 versions & 1 rubygems

Version Path
rroonga-4.0.3-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-4.0.3-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-4.0.3-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-4.0.3-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-4.0.2-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-4.0.2-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-4.0.2-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-4.0.2-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-4.0.1-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-4.0.1-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-4.0.1-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-4.0.1-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-4.0.0-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-4.0.0-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-4.0.0-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-4.0.0-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-3.1.2-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-3.1.2-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-3.1.2-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-3.1.2-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt