C# Class ModbusLib.Logger

ファイルを表示 Open project: rj128x/MODBUS

Public Properties

Property Type Description
logger log4net.ILog

Protected Properties

Property Type Description
context Logger

Public Methods

Method Description
Debug ( string str ) : void
Error ( string str ) : void
Info ( string str ) : void
Logger ( ) : System
createFileLogger ( string path, string name, Logger newLogger ) : Logger
init ( Logger context ) : void

Protected Methods

Method Description
createMessage ( string message ) : string
debug ( string str ) : void
error ( string str ) : void
info ( string str ) : void

Method Details

Debug() public static method

public static Debug ( string str ) : void
str string
return void

Error() public static method

public static Error ( string str ) : void
str string
return void

Info() public static method

public static Info ( string str ) : void
str string
return void

Logger() public method

public Logger ( ) : System
return System

createFileLogger() public static method

public static createFileLogger ( string path, string name, Logger newLogger ) : Logger
path string
name string
newLogger Logger
return Logger

createMessage() protected method

protected createMessage ( string message ) : string
message string
return string

debug() protected method

protected debug ( string str ) : void
str string
return void

error() protected method

protected error ( string str ) : void
str string
return void

info() protected method

protected info ( string str ) : void
str string
return void

init() public static method

public static init ( Logger context ) : void
context Logger
return void

Property Details

context protected_oe static_oe property

protected static Logger context
return Logger

logger public_oe property

public ILog,log4net logger
return log4net.ILog