Click here to Skip to main content
15,888,124 members
Home / Discussions / C#
   

C#

 
GeneralRe: Dataview Pin
Mazdak28-Apr-04 1:43
Mazdak28-Apr-04 1:43 
GeneralRe: Dataview Pin
Appelz28-Apr-04 20:27
Appelz28-Apr-04 20:27 
GeneralRe: Dataview Pin
Heath Stewart28-Apr-04 3:40
protectorHeath Stewart28-Apr-04 3:40 
GeneralRe: Dataview Pin
Appelz28-Apr-04 20:35
Appelz28-Apr-04 20:35 
GeneralRe: Dataview Pin
Heath Stewart29-Apr-04 3:07
protectorHeath Stewart29-Apr-04 3:07 
Generalminimization effect Pin
ecolner28-Apr-04 0:07
ecolner28-Apr-04 0:07 
GeneralRe: minimization effect Pin
Mike Dimmick28-Apr-04 2:29
Mike Dimmick28-Apr-04 2:29 
GeneralLogging/Debug Output/Verbose Mode Pin
MrEyes27-Apr-04 23:20
MrEyes27-Apr-04 23:20 
Heres a quick question, I think I already know what the answer will be (not possible for XYZ reasons), but there is no harm in asking.

Lets say I have a class that contains alot methods I would like the class to log when each of these methods is called and completes.

Normally I would do this by calling a custom AddToLog(string message) codefunction but i am curious to find out if it is possible for the class to perform this on its own (so that I dont have to swap the code with calls to AddToLog()).

To take this concept one step further would it be possible to autolog each line of code.

In the end you would end up with a log something like this

[DATETIME] - Method1() - IN
[DATETIME] - Method1() - string str1 = "hello"; - Line 134
[DATETIME] - Method1() - str1 = method2(str1); - Line 135
[DATETIME] - Method2() - IN
[DATETIME] - Method2() - return str + " world"; - line 267
[DATETIME] - Method2() - OUT
[DATETIME] - Method1() - MessageBox.Show(str1) - Line 136
[DATETIME] - Method1() - OUT


post.mode = postmodes.signature;
SELECT everything FROM everywhere WHERE something = something_else;
> 1 Row Returned
> 42
GeneralRe: Logging/Debug Output/Verbose Mode Pin
Dave Kreskowiak28-Apr-04 1:48
mveDave Kreskowiak28-Apr-04 1:48 
GeneralRe: Logging/Debug Output/Verbose Mode Pin
Heath Stewart28-Apr-04 3:28
protectorHeath Stewart28-Apr-04 3:28 
GeneralRe: Logging/Debug Output/Verbose Mode Pin
Heath Stewart28-Apr-04 3:34
protectorHeath Stewart28-Apr-04 3:34 
QuestionHow to send request to php page using POST method Pin
Alex Getman27-Apr-04 22:58
Alex Getman27-Apr-04 22:58 
AnswerRe: How to send request to php page using POST method Pin
Heath Stewart28-Apr-04 3:26
protectorHeath Stewart28-Apr-04 3:26 
GeneralRe: How to send request to php page using POST method Pin
Alex Getman28-Apr-04 5:04
Alex Getman28-Apr-04 5:04 
GeneralRe: How to send request to php page using POST method Pin
Heath Stewart28-Apr-04 10:23
protectorHeath Stewart28-Apr-04 10:23 
GeneralRe: How to send request to php page using POST method Pin
Alex Getman28-Apr-04 20:25
Alex Getman28-Apr-04 20:25 
GeneralRe: How to send request to php page using POST method Pin
Heath Stewart29-Apr-04 3:06
protectorHeath Stewart29-Apr-04 3:06 
GeneralOut of Process Server in C# Pin
Colin Herkes27-Apr-04 21:05
Colin Herkes27-Apr-04 21:05 
GeneralRe: Out of Process Server in C# Pin
Heath Stewart28-Apr-04 3:17
protectorHeath Stewart28-Apr-04 3:17 
GeneralRe: Out of Process Server in C# Pin
Colin Herkes29-Apr-04 21:24
Colin Herkes29-Apr-04 21:24 
GeneralRe: Out of Process Server in C# Pin
Heath Stewart30-Apr-04 2:57
protectorHeath Stewart30-Apr-04 2:57 
GeneralRe: Out of Process Server in C# Pin
Colin Herkes3-May-04 0:19
Colin Herkes3-May-04 0:19 
GeneralRe: Out of Process Server in C# Pin
Heath Stewart3-May-04 1:49
protectorHeath Stewart3-May-04 1:49 
GeneralRe: Out of Process Server in C# Pin
Colin Herkes3-May-04 2:54
Colin Herkes3-May-04 2:54 
GeneralRe: Out of Process Server in C# Pin
Heath Stewart3-May-04 3:18
protectorHeath Stewart3-May-04 3:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.