メインページ   モジュール   名前空間一覧   クラス階層   アルファベット順一覧   構成   ファイル一覧   構成メンバ   ファイルメンバ   関連ページ    

クラス TSystemLogging の解説
[System Category]

This is the TSystemLogging class. [詳細]

#include <TSystemLogging.hh>

すべてのメンバ一覧

Public 型

enum  {
  CONS = LOG_CONS,
  NDELAY = LOG_NDELAY,
  NOWAIT = LOG_NOWAIT,
  ODELAY = LOG_ODELAY,
  PERORR = LOG_PERROR,
  PID = LOG_PID
}
 theOptionにはORしたものをあたえる [詳細]

enum  {
  AUTH = LOG_AUTH,
  AUTHPRIV = LOG_AUTHPRIV,
  CRON = LOG_CRON,
  DAEMON = LOG_DAEMON,
  FTP = LOG_FTP,
  KERN = LOG_KERN,
  LOCAL0 = LOG_LOCAL0,
  LOCAL1 = LOG_LOCAL1,
  LOCAL2 = LOG_LOCAL2,
  LOCAL3 = LOG_LOCAL3,
  LOCAL4 = LOG_LOCAL4,
  LOCAL5 = LOG_LOCAL5,
  LOCAL6 = LOG_LOCAL6,
  LOCAL7 = LOG_LOCAL7,
  LPR = LOG_LPR,
  MAIL = LOG_MAIL,
  NEWS = LOG_NEWS,
  SYSLOG = LOG_SYSLOG,
  USER = LOG_USER,
  UUCP = LOG_UUCP
}
 ファシリティ,出力先と考えてよい [詳細]

enum  {
  EMERG = LOG_EMERG,
  ALERT = LOG_ALERT,
  CRIT = LOG_CRIT,
  ERROR = LOG_ERR,
  WARNING = LOG_WARNING,
  NOTICE = LOG_NOTICE,
  INFO = LOG_INFO,
  DEBUG = LOG_DEBUG
}
 レベル (プライオリティはファシリティとの組み合わせ) [詳細]


Public メソッド

 TSystemLogging (Tint level=INFO, Tint facility=USER, Tint option=PID|ODELAY)
 TSystemLogging (const TSystemLogging &right)
 ~TSystemLogging ()
Tvoid Open (Tint option, Tint facility)
Tvoid Open (Tint option)
Tvoid Open ()
Tvoid Close ()
Tvoid Record (Tint level, const Tstring &format,...)
Tvoid Record (const Tstring &format,...)
Tvoid Record (Tint level, const Tstring &format, va_list ap)
Tvoid Record (const Tstring &format, va_list ap)
Tint GetLevel () const
Tint GetFacility () const
Tint GetOption () const
const TstringGetID () const
const TstringGetMessageBuffer () const
Tvoid SetLevel (Tint level)
Tvoid SetFacility (Tint facility)
Tvoid SetOption (Tint option)
Tvoid SetID (const Tstring &ident)
Tvoid SetID ()
Tvoid SetMessageBuffer (const Tstring &buffer)
Tvoid AddBuffer (const Tstring &message)
Tvoid ClearBuffer ()
const TSystemLogging & operator= (const TSystemLogging &right)
TSystemLogging & operator<< (Tostream &(*pf)(Tostream &))
TSystemLogging & operator<< (Tostream &os)
TSystemLogging & operator<< (const Tstring &message)
TSystemLogging & operator<< (Tdouble n)
TSystemLogging & operator<< (Tdouble *n)
TSystemLogging & operator<< (Tfloat n)
TSystemLogging & operator<< (Tfloat *n)
TSystemLogging & operator<< (Tint n)
TSystemLogging & operator<< (Tint *n)
TSystemLogging & operator<< (TUint n)
TSystemLogging & operator<< (TUint *n)
TSystemLogging & operator<< (Tshort n)
TSystemLogging & operator<< (Tshort *n)
TSystemLogging & operator<< (TUshort n)
TSystemLogging & operator<< (TUshort *n)
TSystemLogging & operator<< (Tlong n)
TSystemLogging & operator<< (Tlong *n)
TSystemLogging & operator<< (TUlong n)
TSystemLogging & operator<< (TUlong *n)
TSystemLogging & operator<< (Tchar n)
TSystemLogging & operator<< (TUchar n)


解説

This is the TSystemLogging class.

作者:
Go IWAI <goiwai@users.sourceforge.jp>
The TSystemLogging class detail description. Write it down ASAP!

TODO:
None?

バグ:
None?

TSystemLogging.hh72 行で定義されています。


Enum の解説

anonymous enum
 

theOptionにはORしたものをあたえる

Enum 値:
CONS  システムロガーに送る一方でシステムコンソールにも直接書く.
NDELAY  ログ記録用プログラムとの接続を即座に開始する.
NOWAIT  メッセージを記録する際に生成される子プロセスの終了を待たない.
ODELAY  Record()が呼ばれるまで,接続の開始を行わない.
PERORR  標準エラー出力もする.
PID  個々のメッセージにPIDを含める.

TSystemLogging.hh77 行で定義されています。

anonymous enum
 

ファシリティ,出力先と考えてよい

Enum 値:
AUTH  セキュリティ/認証 メッセージ
AUTHPRIV  セキュリティ/認証 メッセージ (プライベート)
CRON  クロックデーモン (cron と at)
DAEMON  特定の facility 値を持たないシステムデーモン
FTP  ftp デーモン
KERN  カーネルメッセージ
LOCAL0  ローカルな使用のためにリザーブされている
LOCAL1  ローカルな使用のためにリザーブされている
LOCAL2  ローカルな使用のためにリザーブされている
LOCAL3  ローカルな使用のためにリザーブされている
LOCAL4  ローカルな使用のためにリザーブされている
LOCAL5  ローカルな使用のためにリザーブされている
LOCAL6  ローカルな使用のためにリザーブされている
LOCAL7  ローカルな使用のためにリザーブされている
LPR  ラインプリンタ・サブシステム
MAIL  メール・サブシステム
NEWS  USENET ニュース・サブシステム.
SYSLOG  syslogd によって内部的に発行されるメッセージ
USER  一般的なユーザレベルメッセージ
UUCP  UUCPサブシステム.

TSystemLogging.hh93 行で定義されています。

anonymous enum
 

レベル (プライオリティはファシリティとの組み合わせ)

Enum 値:
EMERG  システムが使用不可
ALERT  直ちに行動を起こさなければならない
CRIT  危険な状態
ERROR  エラーの状態
WARNING  ワーニングの状態
NOTICE  通常だが重要な状態
INFO  インフォメーションメッセージ
DEBUG  デバッグレベルのメッセージ

TSystemLogging.hh137 行で定義されています。


コンストラクタとデストラクタの解説

TSystemLogging::TSystemLogging Tint  level = INFO,
Tint  facility = USER,
Tint  option = PID|ODELAY
 

TSystemLogging.cc32 行で定義されています。

参照 SetID().

TSystemLogging::TSystemLogging const TSystemLogging &  right  ) 
 

TSystemLogging.cc42 行で定義されています。

参照 SetID().

TSystemLogging::~TSystemLogging  ) 
 

TSystemLogging.cc52 行で定義されています。

参照 Close().


メソッドの解説

Tvoid TSystemLogging::AddBuffer const Tstring message  )  [inline]
 

TSystemLogging.hh226 行で定義されています。

参照 Tvoid.

呼出 operator<<().

Tvoid TSystemLogging::ClearBuffer  )  [inline]
 

TSystemLogging.hh232 行で定義されています。

参照 Tvoid.

呼出 operator<<().

Tvoid TSystemLogging::Close  ) 
 

TSystemLogging.cc78 行で定義されています。

参照 Tvoid.

呼出 Record(), と ~TSystemLogging().

Tint TSystemLogging::GetFacility  )  const [inline]
 

TSystemLogging.hh341 行で定義されています。

参照 Tint.

const Tstring & TSystemLogging::GetID  )  const [inline]
 

TSystemLogging.hh351 行で定義されています。

参照 Tstring.

Tint TSystemLogging::GetLevel  )  const [inline]
 

TSystemLogging.hh336 行で定義されています。

参照 Tint.

const Tstring & TSystemLogging::GetMessageBuffer  )  const [inline]
 

TSystemLogging.hh356 行で定義されています。

参照 Tstring.

Tint TSystemLogging::GetOption  )  const [inline]
 

TSystemLogging.hh346 行で定義されています。

参照 Tint.

Tvoid TSystemLogging::Open  ) 
 

TSystemLogging.cc72 行で定義されています。

参照 Tvoid.

呼出 Open(), と Record().

Tvoid TSystemLogging::Open Tint  option  ) 
 

TSystemLogging.cc65 行で定義されています。

参照 Open(), SetOption(), と Tvoid.

Tvoid TSystemLogging::Open Tint  option,
Tint  facility
 

TSystemLogging.cc57 行で定義されています。

参照 Open(), SetFacility(), SetOption(), と Tvoid.

TSystemLogging & TSystemLogging::operator<< TUchar  n  )  [inline]
 

TSystemLogging.hh255 行で定義されています。

参照 Tchar, と Tstring.

TSystemLogging & TSystemLogging::operator<< Tchar  n  )  [inline]
 

TSystemLogging.hh249 行で定義されています。

参照 Tstring.

TSystemLogging & TSystemLogging::operator<< TUlong n  )  [inline]
 

TSystemLogging.hh331 行で定義されています。

参照 Tint.

TSystemLogging & TSystemLogging::operator<< TUlong  n  )  [inline]
 

TSystemLogging.hh326 行で定義されています。

参照 ultostr().

TSystemLogging & TSystemLogging::operator<< Tlong n  )  [inline]
 

TSystemLogging.hh321 行で定義されています。

参照 Tint.

TSystemLogging & TSystemLogging::operator<< Tlong  n  )  [inline]
 

TSystemLogging.hh316 行で定義されています。

参照 ltostr().

TSystemLogging & TSystemLogging::operator<< TUshort n  )  [inline]
 

TSystemLogging.hh311 行で定義されています。

参照 Tint.

TSystemLogging & TSystemLogging::operator<< TUshort  n  )  [inline]
 

TSystemLogging.hh306 行で定義されています。

参照 ultostr().

TSystemLogging & TSystemLogging::operator<< Tshort n  )  [inline]
 

TSystemLogging.hh301 行で定義されています。

参照 Tint.

TSystemLogging & TSystemLogging::operator<< Tshort  n  )  [inline]
 

TSystemLogging.hh296 行で定義されています。

参照 itostr().

TSystemLogging & TSystemLogging::operator<< TUint n  )  [inline]
 

TSystemLogging.hh291 行で定義されています。

参照 Tint.

TSystemLogging & TSystemLogging::operator<< TUint  n  )  [inline]
 

TSystemLogging.hh286 行で定義されています。

参照 ultostr().

TSystemLogging & TSystemLogging::operator<< Tint n  ) 
 

TSystemLogging.cc170 行で定義されています。

参照 Tchar, Tflush, Tint, Tostrstream, と Tstring.

TSystemLogging & TSystemLogging::operator<< Tint  n  )  [inline]
 

TSystemLogging.hh281 行で定義されています。

参照 itostr().

TSystemLogging & TSystemLogging::operator<< Tfloat n  )  [inline]
 

TSystemLogging.hh276 行で定義されています。

参照 Tint.

TSystemLogging & TSystemLogging::operator<< Tfloat  n  )  [inline]
 

TSystemLogging.hh271 行で定義されています。

参照 ftostr().

TSystemLogging & TSystemLogging::operator<< Tdouble n  )  [inline]
 

TSystemLogging.hh266 行で定義されています。

参照 Tint.

TSystemLogging & TSystemLogging::operator<< Tdouble  n  )  [inline]
 

TSystemLogging.hh261 行で定義されています。

参照 dtostr().

TSystemLogging & TSystemLogging::operator<< const Tstring message  )  [inline]
 

TSystemLogging.hh243 行で定義されています。

参照 AddBuffer().

TSystemLogging & TSystemLogging::operator<< Tostream os  )  [inline]
 

TSystemLogging.hh238 行で定義されています。

TSystemLogging & TSystemLogging::operator<< Tostream &(*  pf)(Tostream &)  ) 
 

TSystemLogging.cc180 行で定義されています。

参照 ALERT, ClearBuffer(), CRIT, DEBUG, EMERG, ERROR, INFO, NOTICE, Record(), Tcerr, Tcout, と WARNING.

const TSystemLogging & TSystemLogging::operator= const TSystemLogging &  right  ) 
 

TSystemLogging.cc160 行で定義されています。

参照 SetID(), theFacility, theLevel, theMessageBuffer, と theOption.

Tvoid TSystemLogging::Record const Tstring format,
va_list  ap
 

TSystemLogging.cc109 行で定義されています。

参照 Close(), Open(), と Tvoid.

Tvoid TSystemLogging::Record Tint  level,
const Tstring format,
va_list  ap
 

TSystemLogging.cc102 行で定義されています。

参照 Record(), SetLevel(), と Tvoid.

Tvoid TSystemLogging::Record const Tstring format,
... 
 

TSystemLogging.cc93 行で定義されています。

参照 Record(), と Tvoid.

Tvoid TSystemLogging::Record Tint  level,
const Tstring format,
... 
 

TSystemLogging.cc84 行で定義されています。

参照 Tvoid.

呼出 operator<<(), と Record().

Tvoid TSystemLogging::SetFacility Tint  facility  )  [inline]
 

TSystemLogging.hh368 行で定義されています。

参照 Tvoid.

呼出 Open().

Tvoid TSystemLogging::SetID  ) 
 

TSystemLogging.cc117 行で定義されています。

参照 ALERT, CRIT, DEBUG, EMERG, ERROR, INFO, NOTICE, Tstring, Tvoid, と WARNING.

呼出 operator=(), SetLevel(), と TSystemLogging().

Tvoid TSystemLogging::SetID const Tstring ident  )  [inline]
 

TSystemLogging.hh380 行で定義されています。

参照 Tvoid.

Tvoid TSystemLogging::SetLevel Tint  level  )  [inline]
 

TSystemLogging.hh361 行で定義されています。

参照 SetID(), と Tvoid.

呼出 Record().

Tvoid TSystemLogging::SetMessageBuffer const Tstring buffer  )  [inline]
 

TSystemLogging.hh386 行で定義されています。

参照 Tvoid.

Tvoid TSystemLogging::SetOption Tint  option  )  [inline]
 

TSystemLogging.hh374 行で定義されています。

参照 Tvoid.

呼出 Open().


このクラスの解説は次のファイルから生成されました:

CLDAQ - a Class Library for DataAcQuisition (Version 1.14.3)
Go IWAI -- goiwai at users.sourceforge.jp