BatchGuy.Program.GetLogErrorFormat C# (CSharp) Method

GetLogErrorFormat() public static method

public static GetLogErrorFormat ( ) : string
return string
        public static string GetLogErrorFormat()
        {
            return "Error: {0}.  Stacktrace: {1}. Method: {2}.";
        }

Usage Example

Example #1
0
 private void LoadLoggingService()
 {
     _loggingService = new LoggingService(Program.GetLogErrorFormat());
 }