Sha256: 1a45bfad15f19d186ba9716be48e21250239bbf7fd0b74de0d538391dd567d10

Contents?: true

Size: 1.03 KB

Versions: 47

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

47 entries across 16 versions & 1 rubygems

Version Path
rroonga-2.1.3-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-2.1.3-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-2.1.2-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-2.1.2-x86-mingw32 vendor/local/share/doc/groonga/source/reference/commands/log_put.txt
rroonga-2.1.2-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-2.1.1-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-2.1.1-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-2.1.1-x86-mingw32 vendor/local/share/doc/groonga/source/reference/commands/log_put.txt
rroonga-2.1.0-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-2.1.0-x86-mingw32 vendor/local/share/doc/groonga/source/reference/commands/log_put.txt
rroonga-2.1.0-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-2.0.8-x86-mingw32 vendor/local/share/doc/groonga/source/reference/commands/log_put.txt
rroonga-2.0.8-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-2.0.8-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-2.0.7-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt
rroonga-2.0.7-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt
rroonga-2.0.7-x86-mingw32 vendor/local/share/doc/groonga/source/reference/commands/log_put.txt
rroonga-2.0.4-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/commands/log_put.txt
rroonga-2.0.4-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/commands/log_put.txt
rroonga-2.0.4-x86-mingw32 vendor/local/share/doc/groonga/source/commands/log_put.txt