Skip to content

Commit f779fa9

Browse files
committed
---
yaml --- r: 30794 b: refs/heads/incoming c: c660516 h: refs/heads/master v: v3
1 parent da47f89 commit f779fa9

File tree

3 files changed

+54
-76
lines changed

3 files changed

+54
-76
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
9-
refs/heads/incoming: 2891f5abe3c7f455d16930a35bfc8d8d623de0ff
9+
refs/heads/incoming: c6605168a15d17cce57d1e23f6a3a290a8ab441d
1010
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/libcore/logging.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
use cast::transmute;
88

9-
export console_on, console_off, log_type;
10-
119
#[nolink]
1210
extern mod rustrt {
1311
#[legacy_exports];
@@ -17,7 +15,7 @@ extern mod rustrt {
1715
}
1816

1917
/// Turns on logging to stdout globally
20-
fn console_on() {
18+
pub fn console_on() {
2119
rustrt::rust_log_console_on();
2220
}
2321

@@ -28,7 +26,7 @@ fn console_on() {
2826
* runtime environment's logging spec, e.g. by setting
2927
* the RUST_LOG environment variable
3028
*/
31-
fn console_off() {
29+
pub fn console_off() {
3230
rustrt::rust_log_console_off();
3331
}
3432

0 commit comments

Comments
 (0)