Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Still fixing the markdown. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
00273291f9c66db0bc3c2314a75972a4 |
User & Date: | llmII 2019-07-11 14:44:37 |
Context
2019-07-11 14:46 | More slight changes to documentation. | check-in: 5c0eaaa2d0 user: llmII tags: trunk | |
2019-07-11 14:44 | Still fixing the markdown. | check-in: 00273291f9 user: llmII tags: trunk | |
2019-07-11 14:43 | Fixing up the README for fossil's brand of MarkDown. | check-in: 64435ecf59 user: llmII tags: trunk | |
Changes
Changes to README.md.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Overview lua-simplelog is a logging library that aims to be performant, simple, and capable. It exposes a log mannager which in turn is used to open up log files in the log directory. The loggers keep up with dates and roll to a new file when the date changes. It provides for multiple levels out of the box. Each log can use either the default write settings, or their own. Write settings allow for telling the logger which level's are enabled for which output. ## Future * Perhaps allow dynamically adding levels and/or writers? ## Usage local log_config = { -- this directory must exist! dir = '/tmp/simplelog', daemonized = true, | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Overview lua-simplelog is a logging library that aims to be performant, simple, and capable. It exposes a log mannager which in turn is used to open up log files in the log directory. The loggers keep up with dates and roll to a new file when the date changes. It provides for multiple levels out of the box. Each log can use either the default write settings, or their own. Write settings allow for telling the logger which level's are enabled for which output. ## Future * Perhaps allow dynamically adding levels and/or writers? ## Usage local log_config = { -- this directory must exist! dir = '/tmp/simplelog', daemonized = true, |
︙ | ︙ | |||
47 48 49 50 51 52 53 54 55 56 57 58 59 60 | log_manager:close_all() ## Documentation ### Levels These are the available log levels in order of importance with highest importance being listed last. * trace * debug * info * warn * error * fatal | > | 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | log_manager:close_all() ## Documentation ### Levels These are the available log levels in order of importance with highest importance being listed last. * trace * debug * info * warn * error * fatal |
︙ | ︙ | |||
95 96 97 98 99 100 101 102 103 104 105 106 107 108 | } The table key `dir` is required and is the directory in which log files will be created. The `logs.default` is also required. The rest is optional. Manager configuration: * dir : The directory to which log files will be written. * daemonized : Used to determine if it is neccessary to disable stdout/stderr logging. * debug_info: If enabled, the logger will include source line info in the output. Log Configuration: | > | 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | } The table key `dir` is required and is the directory in which log files will be created. The `logs.default` is also required. The rest is optional. Manager configuration: * dir : The directory to which log files will be written. * daemonized : Used to determine if it is neccessary to disable stdout/stderr logging. * debug_info: If enabled, the logger will include source line info in the output. Log Configuration: |
︙ | ︙ |