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

クラス 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?


Enum の解説

anonymous enum
 

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

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

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サブシステム.

anonymous enum
 

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

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


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

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

TSystemLogging::TSystemLogging const TSystemLogging &    right
 

TSystemLogging::~TSystemLogging  
 


メソッドの解説

Tvoid TSystemLogging::AddBuffer const Tstring   message [inline]
 

Tvoid TSystemLogging::ClearBuffer   [inline]
 

Tvoid TSystemLogging::Close  
 

Tint TSystemLogging::GetFacility   [inline]
 

const Tstring & TSystemLogging::GetID   [inline]
 

Tint TSystemLogging::GetLevel   [inline]
 

const Tstring & TSystemLogging::GetMessageBuffer   [inline]
 

Tint TSystemLogging::GetOption   [inline]
 

Tvoid TSystemLogging::Open  
 

Tvoid TSystemLogging::Open Tint    option
 

Tvoid TSystemLogging::Open Tint    option,
Tint    facility
 

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

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

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

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

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

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

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

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

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

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

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

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

TSystemLogging& TSystemLogging::operator<< Tint   n
 

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

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

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

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

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

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

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

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

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

Tvoid TSystemLogging::Record const Tstring   format,
va_list    ap
 

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

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

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

Tvoid TSystemLogging::SetFacility Tint    facility [inline]
 

Tvoid TSystemLogging::SetID  
 

Tvoid TSystemLogging::SetID const Tstring   ident [inline]
 

Tvoid TSystemLogging::SetLevel Tint    level [inline]
 

Tvoid TSystemLogging::SetMessageBuffer const Tstring   buffer [inline]
 

Tvoid TSystemLogging::SetOption Tint    option [inline]
 


このクラスの解説は次のファイルから生成されました:
CLDAQ - a Class Library for Data AcQuisition (Version 1.13.0)
Go IWAI <goiwai@users.sourceforge.jp>