mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-21 04:56:01 +08:00
Update from SDK 2013
This commit is contained in:

committed by
Nicholas Hastings

parent
6d5c024820
commit
94b660e16e
23
utils/vmpi/vmpi_logfile.h
Normal file
23
utils/vmpi/vmpi_logfile.h
Normal file
@ -0,0 +1,23 @@
|
||||
//================ Copyright (c) 1996-2009 Valve Corporation. All Rights Reserved. =================
|
||||
//
|
||||
//
|
||||
//
|
||||
//==================================================================================================
|
||||
|
||||
#ifndef VMPI_LOGFILE_H
|
||||
#define VMPI_LOGFILE_H
|
||||
#ifdef _WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
|
||||
// This checks the registry for HKLM\Software\Valve\VMPI\LogFile. If that exists,
|
||||
// then it will log anything that comes through here to that file.
|
||||
//
|
||||
// VMPI will automatically do this for any apps that use VMPI_Init() (if that registry key exists).
|
||||
void VMPI_WriteToLogFile( const char *pMsg, ... );
|
||||
|
||||
bool VMPI_IsLogFileEnabled();
|
||||
|
||||
|
||||
#endif // VMPI_LOGFILE_H
|
Reference in New Issue
Block a user