#pragma once

/********************************************************************
	created:	 2009/09/16
	created:	 16:9:2009   9:08
	filename: 	 logger.h
	author:		 Liangliang Nan
    contact:     liangliang.nan@gmail.com
    affiliation: Shenzhen Institute of Advanced Technology
	
	purpose:	 
*********************************************************************/


#include "widget_common.h"
#include "../basic/scene_graph.h"

#include <string>
#include <iostream>



class WIDGET_API Logger
{
public:
	static void init(SceneGraph* canvas);
	static SceneGraph& output(const std::string& msg = "") ;
	static std::string endl();

private:
	static SceneGraph*	canvas_;
};
