tutorial/hello-simulator.cc
author Craig Dowell <craigdo@ee.washington.edu>
Thu, 13 Sep 2007 22:17:29 -0700
changeset 1506 3c8b23550e6a
parent 1503 53dd8f414ba6
child 1772 dd278e20e52e
permissions -rw-r--r--
disable log unless debug build

/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation;
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#include "ns3/log.h"

NS_LOG_COMPONENT_DEFINE ("HelloSimulator");

using namespace ns3;

int 
main (int argc, char *argv[])
{
  LogComponentEnable ("HelloSimulator", LOG_LEVEL_INFO);

  NS_LOG_INFO ("Hello Simulator");
}