C# 클래스 Helper.Logger

Logger class provides logging in standard and custom formats at different verbosity levels and custom output options.
파일 보기 프로젝트 열기: jazzyjester/Mario-Game

공개 프로퍼티들

프로퍼티 타입 설명
CONFIG_BUFFER_SIZE int
edt_Log System.Windows.Forms.RichTextBox
file_buffer string
file_path string
frm_Parent System.Windows.Forms.Form
loglevel int
loglevel_verbose int
using_text_box System.Boolean

공개 메소드들

메소드 설명
Dump_File ( string filename, string str ) : void
Dump_File ( string filename, string str, bool append ) : void
Log_Method ( ) : void
Logger ( ) : System
Step_In ( ) : void
Step_In ( string msg ) : void
Step_Out ( ) : void
Step_Out ( string msg ) : void
Write ( string msg ) : void
Write ( string msg, int loglevel ) : void
WriteLn ( string msg ) : void
WriteLn ( string msg, int loglevel ) : void

비공개 메소드들

메소드 설명
Print ( string msg ) : void
SendMessage ( IntPtr window, int message, int wparam, int lparam ) : IntPtr

메소드 상세

Dump_File() 공개 메소드

public Dump_File ( string filename, string str ) : void
filename string
str string
리턴 void

Dump_File() 공개 메소드

public Dump_File ( string filename, string str, bool append ) : void
filename string
str string
append bool
리턴 void

Log_Method() 공개 메소드

public Log_Method ( ) : void
리턴 void

Logger() 공개 메소드

public Logger ( ) : System
리턴 System

Step_In() 공개 메소드

public Step_In ( ) : void
리턴 void

Step_In() 공개 메소드

public Step_In ( string msg ) : void
msg string
리턴 void

Step_Out() 공개 메소드

public Step_Out ( ) : void
리턴 void

Step_Out() 공개 메소드

public Step_Out ( string msg ) : void
msg string
리턴 void

Write() 공개 메소드

public Write ( string msg ) : void
msg string
리턴 void

Write() 공개 메소드

public Write ( string msg, int loglevel ) : void
msg string
loglevel int
리턴 void

WriteLn() 공개 메소드

public WriteLn ( string msg ) : void
msg string
리턴 void

WriteLn() 공개 메소드

public WriteLn ( string msg, int loglevel ) : void
msg string
loglevel int
리턴 void

프로퍼티 상세

CONFIG_BUFFER_SIZE 공개적으로 프로퍼티

public int CONFIG_BUFFER_SIZE
리턴 int

edt_Log 공개적으로 프로퍼티

public System.Windows.Forms.RichTextBox edt_Log
리턴 System.Windows.Forms.RichTextBox

file_buffer 공개적으로 프로퍼티

public string file_buffer
리턴 string

file_path 공개적으로 프로퍼티

public string file_path
리턴 string

frm_Parent 공개적으로 프로퍼티

public System.Windows.Forms.Form frm_Parent
리턴 System.Windows.Forms.Form

loglevel 공개적으로 프로퍼티

public int loglevel
리턴 int

loglevel_verbose 공개적으로 프로퍼티

public int loglevel_verbose
리턴 int

using_text_box 공개적으로 프로퍼티

public Boolean,System using_text_box
리턴 System.Boolean