rpcdebug.cc #1

  • //
  • guest/
  • Newtopian/
  • p4/
  • 2014.2/
  • rpc/
  • rpcdebug.cc
  • View
  • Commits
  • Open Download .zip Download (532 B)
/**
 * @file rhdebug.cc
 *
 * @brief 
 *
 * @date   May 14, 2013
 * @author wheffner
 *
 * Copyright (c) 2013 Perforce Software  
 * Confidential.  All Rights Reserved.
 */

# include <stdhdrs.h>
# include <strbuf.h>
# include <strdict.h>
# include <strtable.h>
# include <strops.h>
# include <error.h>
# include <debug.h>
# include "rpcdebug.h"

void DumpError( Error &e, const char *func )
{
	StrBuf buf;
	e.Fmt( buf, EF_NEWLINE );
	StrBuf msg = "Error in ";
	msg << func << ": " << buf << "\n";

	p4debug.printf( msg.Text() );
}
# Change User Description Committed
#1 14945 Newtopian Merging

//guest/perforce_software/p4/...

to //guest/Newtopian/p4/...
//guest/perforce_software/p4/2014.2/rpc/rpcdebug.cc
#1 12189 Matt Attaway Initial (and much belated) drop of 2014.2 p4 source code