rpcdebug.cc #1

  • //
  • guest/
  • perforce_software/
  • 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 15903 Matt Attaway Everything should be happy now between the Workshop and the depot paths
//guest/perforce_software/p4/2014_2/rpc/rpcdebug.cc
#1 15901 Matt Attaway Clean up code to fit modern Workshop naming standards
//guest/perforce_software/p4/2014.2/rpc/rpcdebug.cc
#1 12189 Matt Attaway Initial (and much belated) drop of 2014.2 p4 source code