/***************************************************************************
*                                                                          *
*  Copyright (C) Golaem S.A.  All Rights Reserved.                         *
*                                                                          *
***************************************************************************/

#pragma once

#include <glmCoreAPI.h>
#include "glmLog.h"

namespace glm
{
	class AbstractGraphicalNode ;

	// Logger that output log events in graphical node
	class GLM_CORE_API GraphicalNodeLogEventListener : public ILogger
	{
	public:

		GraphicalNodeLogEventListener(AbstractGraphicalNode* graphicalNode);
		virtual ~GraphicalNodeLogEventListener();
		virtual void trace(Log::Module module, Log::Severity severity, const char* msg, const char* file, int line, const char* operation);
		AbstractGraphicalNode* _graphicalNode;
	};
}
