Skip to content

Commit

Permalink
Release version 0.0.0.dev36
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Sep 25, 2024
1 parent 118c94c commit 722dcd1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ namespaces = true
# ----------------------------------------- Project Metadata -------------------------------------
#
[project]
version = "0.0.0.dev35"
version = "0.0.0.dev36"
name = "LoggerMan"
dependencies = [
"MDit == 0.0.0.dev12",
"ActionMan == 0.0.0.dev23",
"ActionMan == 0.0.0.dev24",
"ProtocolMan == 0.0.0.dev2",
"ExceptionMan == 0.0.0.dev12",
"pydantic",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MDit == 0.0.0.dev12
ActionMan == 0.0.0.dev23
ActionMan == 0.0.0.dev24
ProtocolMan == 0.0.0.dev2
ExceptionMan == 0.0.0.dev12
pydantic
Expand Down
16 changes: 6 additions & 10 deletions src/loggerman/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,26 +628,22 @@ def _submit_log(
sec_num = rich.text.Text(f"{list_number:>3}. ")
sec_num.append(group_title)
group_title = sec_num
self._actionman_logger.group(
dropdown_rich,
title=group_title,
)
annotation_type = self._get_github_annotation_type(level.level)
group_content = []
if annotation_type:
annotation_str = self._actionman_logger.annotation(
self._actionman_logger.annotation(
typ=annotation_type,
title=title,
message=f"Click to see details in workflow log section {self._curr_section_name}.",
message=f"Click on the title above to see details.",
filename=file,
line_start=line,
line_end=line_end,
column_start=column,
column_end=column_end,
out=False,
)
group_content.append(annotation_str)
group_content.append(dropdown_rich)
self._actionman_logger.group(
*group_content,
title=group_title,
)
return

def _get_sig(self, level: LogLevelStyle, stack_up: int = 0) -> _mdit.MDContainer | None:
Expand Down

0 comments on commit 722dcd1

Please sign in to comment.