LogMain impl

Implements LogMain.

Summary
LogMain implImplements LogMain.
CopyrightThis program is free software.
Files
C-kern/api/io/writer/log/logmain.hHeader file of LogMain.
C-kern/io/writer/log/logmain.cImplementation file of LogMain impl.
logmain_tNo object necessary.
global variables
g_logmain_interfaceContains single instance of interface log_it.
interface-implementation
test

Copyright

This program is free software.  You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

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.

Author

© 2011 Jörg Seebohn

Files

C-kern/api/io/writer/log/logmain.h

Header file of LogMain.

C-kern/io/writer/log/logmain.c

Implementation file of LogMain impl.

logmain_t

struct logmain_t

No object necessary.  All calls are delegated to a temporary logwriter_t object.

Summary

global variables

g_logmain_interface

log_it g_logmain_interface

Contains single instance of interface log_it.

interface-implementation

test

Used in static initializer for threadcontext_t.
Implements LogMain.
struct logmain_t
No object necessary.
log_it g_logmain_interface
Contains single instance of interface log_it.
struct log_it
The function table which describes the log service.
struct logwriter_t
A logwriter writes the console channel messages to STDOUT any other channels to STDERR.
Close