Sha256: 43be1c64e9ff959a93c4bd556b7210cabfbf3f4ed793460ec7cb13b4e1c37ea1

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

.. 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

2 entries across 1 versions & 1 rubygems

Version Path
rroonga-1.0.1-x86-mingw32 vendor/local/share/groonga/doc/ja/source/commands/log_put.txt
rroonga-1.0.1-x86-mingw32 vendor/local/share/groonga/doc/ja/html/_sources/commands/log_put.txt