lua-simplelog  Check-in [4bbc7e7aa4]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Making README style match the code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4bbc7e7aa4a4510a757df6ab8342b07b5f03681e2c9c798ecf7748133c650447
User & Date: llmII 2019-07-11 17:53:25
Context
2019-07-11 18:52
Fix README to match example, coding format/style fixes. check-in: 23e617c92e user: llmII tags: trunk
2019-07-11 17:53
Making README style match the code. check-in: 4bbc7e7aa4 user: llmII tags: trunk
2019-07-11 17:46
Fix README to match test.lua check-in: 0bc6556ee0 user: llmII tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to README.md.

64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81

82
83
84
85
86
87
88
* error
* fatal

### Log manager
This is what's returned when you import the module.

Once you initialize a manager with a config like
`local manager = (require 'simplelog')(cfg_table)`
the following functions become avaliable:

Functions:
* open(string name) - opens a log file with the name given and creates
  said file under the directory given in the configuration. Returns
  the log file object.
* close(string name) - closes a previously opened log file by name
* closeall() - closes all log files managed by this manager

**Configuration is explained below:**

Excerpt from example:

      dir = '/tmp/simplelog',
      daemonized = true,
      debug_info = true,
      logs = {
        default = {







|










>







64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
* error
* fatal

### Log manager
This is what's returned when you import the module.

Once you initialize a manager with a config like
`local manager = require 'simplelog' (cfg_table)`
the following functions become avaliable:

Functions:
* open(string name) - opens a log file with the name given and creates
  said file under the directory given in the configuration. Returns
  the log file object.
* close(string name) - closes a previously opened log file by name
* closeall() - closes all log files managed by this manager

**Configuration is explained below:**

Excerpt from example:

      dir = '/tmp/simplelog',
      daemonized = true,
      debug_info = true,
      logs = {
        default = {