Commit Graph

36 Commits

Author SHA1 Message Date
starkandwayne-bot 896b8a6904 Updating CODE_OF_CONDUCT.md 2019-01-15 15:25:30 -05:00
James Hunt 64cf2cb9ad Update README 2017-11-18 23:37:12 -05:00
James Hunt 2c96629058 Support Trace-level log messages
- New Tracef() and IsTrace() methods for dealing with Trace-level
  debugging / logging.
- Support for "trace" as a configurable log level.

Fixes #12
2017-07-19 13:38:05 -04:00
James Hunt 630c613585 New Is<Level>() functions
Fixes #11
2017-07-19 13:34:08 -04:00
James Hunt a28afee5ab Set datestring to 40 characters wide
This turns the following log output:

    2017-06-14 17:46:34.172571867 -0400 EDT ./shield-agent: DEBUG: log1
    2017-06-14 17:46:34.17260421 -0400 EDT ./shield-agent: DEBUG: log2

into:

    2017-06-14 17:46:34.172571867 -0400 EDT ./shield-agent: DEBUG: log1
    2017-06-14 17:46:34.17260421 -0400 EDT  ./shield-agent: DEBUG: log2

Fixes #10
2017-06-14 21:58:22 -04:00
Geoff Franks d28cacc194 Merge pull request #9 from starkandwayne/add-tree-path-segments
Added tree.PathSegments
2017-05-30 12:16:10 -04:00
Dennis Bell 588da44714 Added tree.PathSegments to return an array of array of path segments for each full path 2017-05-29 18:35:39 -07:00
Quintessence e6fd1c076b Revert "Swapped blue and green"
This reverts commit 5c356dd162.
2017-03-03 15:46:35 -05:00
Quintessence 5c356dd162 Swapped blue and green 2017-03-03 15:31:23 -05:00
Geoff Franks f4d79c537c Merge pull request #8 from starkandwayne/contains
New `cursor.Contains()` method
2017-02-16 09:09:53 -05:00
Geoff Franks c408a779c0 Reworked tests to pass to support name-based list finding, but not return the names in the canonical path 2017-02-16 09:03:47 -05:00
Geoff Franks 3f90ce6f5f Revert "Updated canonical naming returned for better list support"
This reverts commit 6ad0335139.
2017-02-16 09:02:08 -05:00
James Hunt 76192fc2a6 New `cursor.Contains()` method
It's like a reverse Under(), except `a.Contains(a)` is true.
2017-02-15 15:44:43 -05:00
Quintessence 828bfc178a Merge pull request #7 from starkandwayne/glob-tolerance
Allow Globs with '*' to not error when sub-items are not found
2017-02-15 15:34:32 -05:00
Quintessence 73dcc09957 Merge pull request #6 from starkandwayne/canonical-names
Updated canonical naming returned for better list support
2017-02-15 15:33:18 -05:00
Geoff Franks 87821ddf69 Allow Globs with '*' to not error when sub-items are not found
When using '*' in a glob, it should be permissable to not find things
underneath. Do not return errors for such cases. Do for when missing
items are not underneath the scope of a '*'.
2017-02-15 13:55:43 -05:00
Geoff Franks 6ad0335139 Updated canonical naming returned for better list support
If lists have a name key, and it is used in the path, canonical
name should return the name in the canonical path. If the cursor
is requested via an index, use the index in the canonical path.
2017-02-15 13:50:46 -05:00
Thomas Mitchell fe57c6fbef ansi supports color tags split across lines. Also, better rainbows with whitespace (#5)
* ansi library can now support color tags split across lines

* tests for multiline parsing. rainbow powers++

Rainbowization no longer wastes colors in its sequence on whitespace characters that can't be bothered to display them.

* another rainbow test
2016-11-12 13:10:19 -05:00
Long Nguyen 1c0ce1eaa4 adding timestamp to utils 2016-11-01 09:26:12 -04:00
James Hunt 2f0992d84c Merge pull request #3 from starkandwayne/stderr-out
Support logging to stderr
2016-10-29 08:49:08 -04:00
Geoff Franks a21ed95a51 Support logging to stderr
When using the "console" log type, you can
specify the "file" of "stderr", and print log
messages to STDERR instead of STDOUT
2016-10-28 21:36:46 -04:00
Geoff Franks 6fde490f64 Updated godeps 2016-08-23 15:26:38 -04:00
Geoff Franks b478d4e827 Fixed godep path 2016-08-23 15:26:13 -04:00
Geoff Franks 389743e8b6 migrated test dependencies of botta to new botta 2016-08-23 15:25:21 -04:00
Geoff Franks a7c776659b Migrated botta to s&w goutils package 2016-08-23 15:13:20 -04:00
Geoff Franks 1af0d9806c Merge pull request #2 from starkandwayne/treeify
Treeify
2016-07-11 11:05:04 -06:00
Geoff Franks e87bc1ea5d Merge pull request #1 from starkandwayne/ansify
Move jhunt/ansi -> starkandwayne/goutils
2016-07-11 11:04:44 -06:00
James Hunt 49f88b1be3 Move jhunt/tree -> starkandwayne/goutils/tree 2016-07-11 13:01:33 -04:00
James Hunt af5148e3f0 Move jhunt/ansi -> starkandwayne/goutils 2016-07-11 12:57:45 -04:00
Geoff Franks 2ed57be1d3 Added support for getting current log level 2015-12-01 12:41:07 -05:00
Geoff Franks f044002dcb Dropped hard-coded 'bmad' for os.Args[0], formatting 2015-11-24 10:45:24 -05:00
Quintessence 7e201eac0d Prepended SetupLogging with log 2015-11-20 13:25:58 -05:00
Quintessence 9dab87918f Updated README 2015-11-20 13:25:19 -05:00
Quintessence 4218de5856 Fixed README 2015-11-20 12:54:13 -05:00
Quinn 2dbf7e579c Initial commit from geofffranks/bmad/log 2015-11-20 12:51:27 -05:00
Quintessence 8f96859ae3 Initial commit 2015-11-20 12:49:34 -05:00