[Groonga-commit] groonga/groonga at 31275ee [master] doc: use english

Back to archive index

Kentaro Hayashi null+****@clear*****
Wed Apr 5 15:19:49 JST 2017


Kentaro Hayashi	2017-04-05 15:19:49 +0900 (Wed, 05 Apr 2017)

  New Revision: 31275eeb23850717d39a21aefc9309e4a6bce392
  https://github.com/groonga/groonga/commit/31275eeb23850717d39a21aefc9309e4a6bce392

  Message:
    doc: use english

  Modified files:
    doc/source/reference/commands/log_level.rst

  Modified: doc/source/reference/commands/log_level.rst (+45 -19)
===================================================================
--- doc/source/reference/commands/log_level.rst    2017-04-05 14:15:10 +0900 (9139375)
+++ doc/source/reference/commands/log_level.rst    2017-04-05 15:19:49 +0900 (628466d)
@@ -8,11 +8,7 @@
 Summary
 -------
 
-log_level - ログ出力レベルの設定
-
-Groonga組込コマンドの一つであるlog_levelについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
-
-log_levelは、ログ出力レベルを設定します。
+``log_level`` command sets log level of Groonga.
 
 Syntax
 ------
@@ -32,27 +28,57 @@ Parameters
 
 ``level``
 
-  設定するログ出力レベルの値を以下のいずれかで指定します。
-
-     emergency
-     alert
-     critical
-     error
-     warning
-     notice
-     info
-     debug
+  Specify log level with a character or string which means log level.
+
+  .. list-table::
+     :header-rows: 1
+
+     * - Value
+       - Alias
+     * - ``E``
+       - ``emerge`` or ``emergency``
+     * - ``A``
+       - ``alert``
+     * - ``C``
+       - ``crit`` or ``critical``
+     * - ``e``
+       - ``error``
+     * - ``w``
+       - ``warn`` or ``warning``
+     * - ``n``
+       - ``notice``
+     * - ``i``
+       - ``info``
+     * - ``d``
+       - ``debug``
+     * - ``-``
+       - ``dump``
+
+  Example::
+
+       emergency
+       alert
+       critical
+       error
+       warning
+       notice
+       info
+       debug
 
 Return value
 ------------
 
-::
+``log_level`` command returns whether log level configuration is succeeded or not::
+
+  [HEADER, SUCCEEDED_OR_NOT]
+
+``HEADER``
 
- [成功かどうかのフラグ]
+  See :doc:`/reference/command/output_format` about ``HEADER``.
 
-``成功かどうかのフラグ``
+``SUCCEEDED_OR_NOT``
 
-  エラーが生じなかった場合にはtrue、エラーが生じた場合にはfalseを返す。
+  If command succeeded, it returns true, otherwise it returns false on error.
 
 See also
 --------
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-commit mailing list
Back to archive index