APISonar


com.google.mr4c.algorithm.AlgorithmContext.log

> com > google > mr4c > algorithm > AlgorithmContext > log
com APIs google APIs mr4c APIs algorithm APIs AlgorithmContext APIs log APIs

Example 1
private AlgorithmContext m_context;

	private void buildLogCallback() {
		m_callbacks.logCallback = new CExternalLogFunctionPtr() {
			public void apply(Pointer lvl, Pointer msg) {
				LogLevel level = LogLevel.valueOf(lvl.getString(0));
				m_context.log(level, msg.getString(0));
			}
		};
	}