Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
628 B

//============ Copyright (c) Valve Corporation, All rights reserved. ============
//
// Tier1 logging helpers.
//
//===============================================================================
#ifndef TIER1_LOGGING_H
#define TIER1_LOGGING_H
#if defined( COMPILER_MSVC )
#pragma once
#endif
#include "logging.h"
#include "utlbuffer.h"
#include "color.h"
class CBufferedLoggingListener : public ILoggingListener
{
public:
CBufferedLoggingListener();
virtual void Log( const LoggingContext_t *pContext, const tchar *pMessage );
void EmitBufferedSpew();
private:
CUtlBuffer m_StoredSpew;
};
#endif // TIER1_LOGGING_H