Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting calling method name?
Message
De
26/02/2013 16:36:10
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01566974
Message ID:
01566990
Vues:
45
Those are things that trip up many logging solutions.

>I guess in our case since we're re-writting VFP code and we're used to logging, we use a Logging class that adds strings to the local file.
>
>The call to this method looks like this
>
>Logging.Log(3, "Some string"); where the first parameter is verbosity level (so, if the verbosity level is 1, then nothing gets logged).
>
>I haven't looked closely into the actual implementation of that class, but it's used in many of our applications.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform