Skip to content

Commit

Permalink
Added version number and release notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergejs Vinniks committed Sep 6, 2018
1 parent 21edd92 commit aa12b63
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Version

1.0.0

[Release notes](RELEASE_NOTES.md)

# Table of contents

* [Summary](#summary)
Expand Down
2 changes: 2 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# 1.0.0
- Initial release
8 changes: 8 additions & 0 deletions src/packages/log$.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ CREATE OR REPLACE PACKAGE BODY log$ IS
limitations under the License.
*/

c_VERSION CONSTANT VARCHAR2(8) := '1.0.0';

SUBTYPE CHARN IS CHAR NOT NULL;

TYPE t_message_resolvers IS
Expand Down Expand Up @@ -59,6 +61,12 @@ CREATE OR REPLACE PACKAGE BODY log$ IS

v_message_cache t_message_cache;

FUNCTION version
RETURN VARCHAR IS
BEGIN
RETURN c_VERSION;
END;

/* Logger internal warnings and errors */

PROCEDURE log_event (
Expand Down
3 changes: 3 additions & 0 deletions src/packages/log$.pks
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ CREATE OR REPLACE PACKAGE log$ IS
argument_notation BOOLEANN := FALSE
);

FUNCTION version
RETURN VARCHAR;

/* Initilalization methods */

PROCEDURE reset;
Expand Down

0 comments on commit aa12b63

Please sign in to comment.