- Make private default Log_Writer function,

- Make private LGG_Base,
- Add LG_Log_Stream_Get/Set API,
- Minor file header fixies.
This commit is contained in:
2024-04-17 17:52:43 +02:00
parent 29ff5acb9f
commit 17452c794b
4 changed files with 144 additions and 78 deletions

View File

@@ -3,14 +3,14 @@
/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/* This file is part of liblog. */
/* This file is part of LibLog. */
/* */
/* Drummer is free software: you can redistribute it and/or modify it */
/* LibLog 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 3 of the License, or */
/* (at your option) any later version. */
/* */
/* Drummer is distributed in the hope that it will be useful, */
/* LibLog 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. */
@@ -19,6 +19,8 @@
/* along with Drummer. If not, see <https://www.gnu.org/licenses/>. */
/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/* Includes */
/*----------------------------------------------------------------------------*/
@@ -75,7 +77,7 @@ int main( int argc, char **argv)
LGT_Status status;
if( ( status = LG_Library_Open( stderr, LGD_LOG_WRITER_DEFAULT, true)) != LGS_OK)
if( ( status = LG_Library_Open( LGD_LOG_WRITER_DEFAULT, true)) != LGS_OK)
{
fprintf( stderr, "Can't open LibLog library: (%d)\n", status);
return( -1);