gonzui


Format: Advanced Search

tkernel_2/kernel/sysmgr/src/syslog.hbare sourcepermlink (0.02 seconds)

Search this content:

    1: /*
    2:  *----------------------------------------------------------------------
    3:  *    T-Kernel 2.0 Software Package
    4:  *
    5:  *    Copyright 2011 by Ken Sakamura.
    6:  *    This software is distributed under the latest version of T-License 2.x.
    7:  *----------------------------------------------------------------------
    8:  *
    9:  *    Released by T-Engine Forum(http://www.t-engine.org/) at 2011/05/17.
   10:  *    Modified by T-Engine Forum at 2013/02/28.
   11:  *    Modified by TRON Forum(http://www.tron.org/) at 2015/06/01.
   12:  *
   13:  *----------------------------------------------------------------------
   14:  */
   15: 
   16: /*
   17:  *      syslog.h (T-Kernel/SM)
   18:  *      System Log Task Definition
   19:  */
   20: 
   21: #ifndef _SYSLOG_
   22: #define _SYSLOG_
   23: 
   24: #define USE_SYSLOG_CONSIO 0             /* Use console IO for system log
   25:                                            (useful for system analysis and for debug because this makes
   26:                                             syslog() to work without waits, unlike tm_printf() and the like
   27:                                             which affect the timing of system execution) */
   28: 
   29: #define MBF_LOG_BUFSZ   (1024*6)  /* Size of message buffer for log */
   30: #define MBF_LOG_MAXMSZ  256              /* Maximum length of log message */
   31: 
   32: #endif /* _SYSLOG_ */