APISonar


sharpen.core.Sharpen.Log

> sharpen > core > Sharpen > Log
sharpen APIs core APIs Sharpen APIs Log APIs

Example 1
private void addLogFile() {
		ConfigFile.LogFileEntry logFile = _configFile.getLogFile();
		if (logFile == null)
			return;

		try {
			File file = getProjectFile(logFile.path);
			_logger.setLogFile(file, logFile.append);
		} catch (Exception e) {
			Sharpen.Log(e, "Cannot create log file '%s'", logFile.path);
		}
	}