public static void Log(NSLogLevel level, String message) { if (level == (NSLogLevel.Debug & level)) { logger.Debug(message); } if (level == (NSLogLevel.Error & level)) { logger.Error(message); } if (level == (NSLogLevel.Fatal & level)) { logger.Fatal(message); } if (level == (NSLogLevel.Info & level)) { logger.Info(message); } if (level == (NSLogLevel.Warn & level)) { logger.Warn(message); } }
public static void Log(NSLogLevel level, String message) { if (level == (NSLogLevel.Debug & level)) logger.Debug (message); if (level == (NSLogLevel.Error & level)) logger.Error (message); if (level == (NSLogLevel.Fatal & level)) logger.Fatal (message); if (level == (NSLogLevel.Info & level)) logger.Info (message); if (level == (NSLogLevel.Warn & level)) logger.Warn (message); }