/* * This file is part of the zlog Library. * * Copyright (C) 2011 by Hardy Simpson * * Licensed under the LGPL v2.1, see the file COPYING in base directory. */ #include #include "zlog.h" int main(int argc, char** argv) { int rc; rc = dzlog_init("test_profile.conf", "my_cat"); if (rc) { printf("init failed\n"); return -1; } dzlog_info("hello, zlog"); zlog_profile(); zlog_fini(); return 0; }