more fix on Ec/Ev.
[gss-tcad.git] / src / cmd / log.cc
blobd7761759241d00f358af8b594d6ca7fd286cbdc6
1 /*****************************************************************************/
2 /* 8888888 88888888 88888888 */
3 /* 8 8 8 */
4 /* 8 8 8 */
5 /* 8 88888888 88888888 */
6 /* 8 8888 8 8 */
7 /* 8 8 8 8 */
8 /* 888888 888888888 888888888 */
9 /* */
10 /* A Two-Dimensional General Purpose Semiconductor Simulator. */
11 /* */
12 /* GSS 0.4x */
13 /* Last update: Sep 5, 2006 */
14 /* */
15 /* Gong Ding */
16 /* gdiso@ustc.edu */
17 /* NINT, No.69 P.O.Box, Xi'an City, China */
18 /* */
19 /*****************************************************************************/
21 /* We need two file streams for message output: console and log file. */
22 /* Output Device Select */
24 #include "log.h"
25 //use C++ stream system
26 GSS_LOG_STREAM gss_log;
28 //support the old c fprintf front end.
29 char log_buf[128];
30 void GSS_LOG()
32 gss_log.string_buf()<<log_buf;
33 gss_log.record();